summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-26 19:51:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-26 19:51:27 +0300
commit012a10fd8153f3ddb775dde1e4dba4456f2aa9de (patch)
treee0b6e812378a501adb1502bdf0c0bb50b58b820d /src/configuration.cpp
parent3c374b32aafb85dca19d39d5e431c6efe0302f27 (diff)
downloadmv-012a10fd8153f3ddb775dde1e4dba4456f2aa9de.tar.gz
mv-012a10fd8153f3ddb775dde1e4dba4456f2aa9de.tar.bz2
mv-012a10fd8153f3ddb775dde1e4dba4456f2aa9de.tar.xz
mv-012a10fd8153f3ddb775dde1e4dba4456f2aa9de.zip
Fix code style.
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);