Remove createdPath_ from Config.cpp/h, seems pretty useless.
This commit is contained in:
parent
1be11e8b4e
commit
c803e9fc58
2 changed files with 1 additions and 5 deletions
|
@ -1607,10 +1607,7 @@ const Path Config::FindConfigFile(const std::string &baseFilename) {
|
||||||
if (!File::Exists(filename)) {
|
if (!File::Exists(filename)) {
|
||||||
// Make sure at least the directory it's supposed to be in exists.
|
// Make sure at least the directory it's supposed to be in exists.
|
||||||
Path path = filename.NavigateUp();
|
Path path = filename.NavigateUp();
|
||||||
if (createdPath_ != path) {
|
File::CreateFullPath(path);
|
||||||
File::CreateFullPath(path);
|
|
||||||
createdPath_ = path;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return filename;
|
return filename;
|
||||||
}
|
}
|
||||||
|
|
|
@ -538,7 +538,6 @@ private:
|
||||||
Path controllerIniFilename_;
|
Path controllerIniFilename_;
|
||||||
std::vector<Path> searchPath_;
|
std::vector<Path> searchPath_;
|
||||||
Path defaultPath_;
|
Path defaultPath_;
|
||||||
Path createdPath_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
std::map<std::string, std::pair<std::string, int>> GetLangValuesMapping();
|
std::map<std::string, std::pair<std::string, int>> GetLangValuesMapping();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue