diff options
Diffstat (limited to 'src/common/Configuration/Config.cpp')
-rw-r--r-- | src/common/Configuration/Config.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/common/Configuration/Config.cpp b/src/common/Configuration/Config.cpp index 8dcb65b155..0cd69584d3 100644 --- a/src/common/Configuration/Config.cpp +++ b/src/common/Configuration/Config.cpp @@ -649,30 +649,6 @@ bool ConfigMgr::LoadModulesConfigs(bool isReload /*= false*/, bool isNeedPrintIn return true; } -/// @deprecated DO NOT USE - use GetOption<std::string> instead. -std::string ConfigMgr::GetStringDefault(std::string const& name, const std::string& def, bool showLogs /*= true*/) -{ - return GetOption<std::string>(name, def, showLogs); -} - -/// @deprecated DO NOT USE - use GetOption<bool> instead. -bool ConfigMgr::GetBoolDefault(std::string const& name, bool def, bool showLogs /*= true*/) -{ - return GetOption<bool>(name, def, showLogs); -} - -/// @deprecated DO NOT USE - use GetOption<int32> instead. -int ConfigMgr::GetIntDefault(std::string const& name, int def, bool showLogs /*= true*/) -{ - return GetOption<int32>(name, def, showLogs); -} - -/// @deprecated DO NOT USE - use GetOption<float> instead. -float ConfigMgr::GetFloatDefault(std::string const& name, float def, bool showLogs /*= true*/) -{ - return GetOption<float>(name, def, showLogs); -} - #define TEMPLATE_CONFIG_OPTION(__typename) \ template __typename ConfigMgr::GetOption<__typename>(std::string const& name, __typename const& def, bool showLogs /*= true*/) const; |