1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

no const for int and bool

This commit is contained in:
Thoronador 2013-06-17 18:47:12 +02:00
parent 9313b2b3fe
commit d26e721d10
2 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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<std::string> mMergeFallback;