mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Config: Removed unused ::clear method
- This was used back when shadow file support needed to reset CLI parsing.
This commit is contained in:
parent
5e3845dcb6
commit
29c18c2c64
2 changed files with 0 additions and 7 deletions
|
@ -552,12 +552,6 @@ void Config::setDefaults ()
|
||||||
parse (_defaults);
|
parse (_defaults);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
void Config::clear ()
|
|
||||||
{
|
|
||||||
std::map <std::string, std::string>::clear ();
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Config::has (const std::string& key)
|
bool Config::has (const std::string& key)
|
||||||
{
|
{
|
||||||
|
|
|
@ -45,7 +45,6 @@ public:
|
||||||
void createDefaultRC (const std::string&, const std::string&);
|
void createDefaultRC (const std::string&, const std::string&);
|
||||||
void createDefaultData (const std::string&);
|
void createDefaultData (const std::string&);
|
||||||
void setDefaults ();
|
void setDefaults ();
|
||||||
void clear ();
|
|
||||||
|
|
||||||
bool has (const std::string&);
|
bool has (const std::string&);
|
||||||
std::string get (const std::string&);
|
std::string get (const std::string&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue