diff options
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 4 |
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) { |