forked from teamnwah/openmw-tes3coop
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class MwIniImporter {
|
|||
void writeToFile(std::string file, strmap &cfg);
|
||||
|
||||
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;
|
||||
strmap mMergeMap;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue