diff --git a/apps/mwiniimporter/importer.cpp b/apps/mwiniimporter/importer.cpp index e5d4dd2ca1..d5d6a3c845 100644 --- a/apps/mwiniimporter/importer.cpp +++ b/apps/mwiniimporter/importer.cpp @@ -635,11 +635,11 @@ MwIniImporter::MwIniImporter() } } -void MwIniImporter::setVerbose(const bool verbose) { +void MwIniImporter::setVerbose(bool verbose) { mVerbose = verbose; } -std::string MwIniImporter::numberToString(const int n) { +std::string MwIniImporter::numberToString(int n) { std::stringstream str; str << n; return str.str(); diff --git a/apps/mwiniimporter/importer.hpp b/apps/mwiniimporter/importer.hpp index 362b8c29c9..784980e090 100644 --- a/apps/mwiniimporter/importer.hpp +++ b/apps/mwiniimporter/importer.hpp @@ -17,7 +17,7 @@ class MwIniImporter { MwIniImporter(); void setInputEncoding(const ToUTF8::FromType& encoding); - void setVerbose(const bool verbose); + void setVerbose(bool verbose); multistrmap loadIniFile(const std::string& filename) const; static multistrmap loadCfgFile(const std::string& filename); void merge(multistrmap &cfg, const multistrmap &ini) const; @@ -28,7 +28,7 @@ class MwIniImporter { private: static void insertMultistrmap(multistrmap &cfg, const std::string& key, const std::string& value); - static std::string numberToString(const int n); + static std::string numberToString(int n); bool mVerbose; strmap mMergeMap; std::vector mMergeFallback;