mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions.
This commit is contained in:
parent
4d47e8d055
commit
a13709c510
88 changed files with 394 additions and 328 deletions
|
@ -24,9 +24,9 @@ namespace
|
|||
}
|
||||
}
|
||||
if (dir == nullptr)
|
||||
return std::filesystem::path();
|
||||
return {};
|
||||
else
|
||||
return std::filesystem::path(dir);
|
||||
return dir;
|
||||
}
|
||||
|
||||
std::filesystem::path getEnv(const std::string& envVariable, const std::filesystem::path& fallback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue