1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

remove no longer used method

This commit is contained in:
Miloslav Číž 2017-11-11 13:54:14 +01:00
parent 525f8b4d8e
commit e804c4a011
2 changed files with 0 additions and 13 deletions

View File

@ -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) );

View File

@ -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);