summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 5d2191b59..208437b57 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -242,14 +242,16 @@ std::string ConfigurationObject::getValue(const std::string &key,
return ((iter != mOptions.end()) ? iter->second : deflt);
}
-int ConfigurationObject::getValue(const std::string &key, const int deflt) const
+int ConfigurationObject::getValue(const std::string &key,
+ const int deflt) const
{
GETLOG();
const Options::const_iterator iter = mOptions.find(key);
return (iter != mOptions.end()) ? atoi(iter->second.c_str()) : deflt;
}
-int ConfigurationObject::getValueInt(const std::string &key, const int deflt) const
+int ConfigurationObject::getValueInt(const std::string &key,
+ const int deflt) const
{
GETLOG();
const Options::const_iterator iter = mOptions.find(key);