From 3eff3d27045ae7e140cc4f3b4387416f5f0ad208 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Feb 2017 22:13:16 -0500 Subject: [PATCH] Config: Removed unused ::clear method - This was used back when shadow file support needed to reset CLI parsing. --- src/Config.cpp | 6 ------ src/Config.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/Config.cpp b/src/Config.cpp index 5fa2ab79c..bfecfb381 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -552,12 +552,6 @@ void Config::setDefaults () parse (_defaults); } -//////////////////////////////////////////////////////////////////////////////// -void Config::clear () -{ - std::map ::clear (); -} - //////////////////////////////////////////////////////////////////////////////// bool Config::has (const std::string& key) { diff --git a/src/Config.h b/src/Config.h index 745493a8e..08507ec08 100644 --- a/src/Config.h +++ b/src/Config.h @@ -45,7 +45,6 @@ public: void createDefaultRC (const std::string&, const std::string&); void createDefaultData (const std::string&); void setDefaults (); - void clear (); bool has (const std::string&); std::string get (const std::string&);