remove no longer used method

pull/456/head
Miloslav Číž 7 years ago
parent 525f8b4d8e
commit e804c4a011

@ -401,18 +401,6 @@ int Manager::getInt (const std::string& setting, const std::string& category)
return parseInt( getString(setting, category) );
}
int Manager::tryGetInt (const std::string &setting, const std::string& category, int defaultValue)
{
try
{
return getInt(setting,category);
}
catch (std::runtime_error)
{
return defaultValue;
}
}
bool Manager::getBool (const std::string& setting, const std::string& category)
{
return parseBool( getString(setting, category) );

@ -39,7 +39,6 @@ namespace Settings
///< returns the list of changed settings and then clears it
static int getInt (const std::string& setting, const std::string& category);
static int tryGetInt (const std::string &setting, const std::string& category, int defaultValue);
static float getFloat (const std::string& setting, const std::string& category);
static std::string getString (const std::string& setting, const std::string& category);
static bool getBool (const std::string& setting, const std::string& category);

Loading…
Cancel
Save