Remove createdPath_ from Config.cpp/h, seems pretty useless.

This commit is contained in:
Henrik Rydgård 2021-05-30 11:10:20 +02:00
parent 1be11e8b4e
commit c803e9fc58
2 changed files with 1 additions and 5 deletions

View file

@ -1607,10 +1607,7 @@ const Path Config::FindConfigFile(const std::string &baseFilename) {
if (!File::Exists(filename)) {
// Make sure at least the directory it's supposed to be in exists.
Path path = filename.NavigateUp();
if (createdPath_ != path) {
File::CreateFullPath(path);
createdPath_ = path;
}
}
return filename;
}

View file

@ -538,7 +538,6 @@ private:
Path controllerIniFilename_;
std::vector<Path> searchPath_;
Path defaultPath_;
Path createdPath_;
};
std::map<std::string, std::pair<std::string, int>> GetLangValuesMapping();