forked from mirror/openmw-tes3mp
no const for int and bool
This commit is contained in:
parent
9313b2b3fe
commit
d26e721d10
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue