mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 12:39:41 +00:00
pass maps by reference
This commit is contained in:
parent
e35670c6cb
commit
b7635b3d4a
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ void MwIniImporter::merge(strmap &cfg, strmap &ini) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MwIniImporter::specialMerge(std::string cfgKey, std::string iniKey, strmap cfg, strmap ini) {
|
bool MwIniImporter::specialMerge(std::string cfgKey, std::string iniKey, strmap &cfg, strmap &ini) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ class MwIniImporter {
|
||||||
void writeToFile(std::string file, strmap &cfg);
|
void writeToFile(std::string file, strmap &cfg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool specialMerge(std::string cfgKey, std::string iniKey, strmap cfg, strmap ini);
|
bool specialMerge(std::string cfgKey, std::string iniKey, strmap &cfg, strmap &ini);
|
||||||
bool mVerbose;
|
bool mVerbose;
|
||||||
strmap mMergeMap;
|
strmap mMergeMap;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue