summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/configuration.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmanaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 3b6c6b021..9facb4c3e 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -425,7 +425,7 @@ int Configuration::getIntValue(const std::string &key) const
if (itdef != mDefaultsData->end() && itdef->second)
{
const VariableData *const data = itdef->second;
- const VariableData::DataType type = static_cast<const
+ const VariableData::DataType type = static_cast<
VariableData::DataType>(data->getType());
if (type == VariableData::DATA_INT)
{
@@ -507,7 +507,7 @@ std::string Configuration::getStringValue(const std::string &key) const
itdef->second)
{
const VariableData *const data = itdef->second;
- const VariableData::DataType type = static_cast<const
+ const VariableData::DataType type = static_cast<
VariableData::DataType>(data->getType());
if (type == VariableData::DATA_STRING)
{