Config: Removed unused ::clear method
- This was used back when shadow file support needed to reset CLI parsing.
This commit is contained in:
@@ -552,12 +552,6 @@ void Config::setDefaults ()
|
||||
parse (_defaults);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Config::clear ()
|
||||
{
|
||||
std::map <std::string, std::string>::clear ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Config::has (const std::string& key)
|
||||
{
|
||||
|
||||
@@ -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&);
|
||||
|
||||
Reference in New Issue
Block a user