Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions.

This commit is contained in:
Project579 2022-07-03 00:02:29 +02:00
parent 4d47e8d055
commit a13709c510
88 changed files with 394 additions and 328 deletions

View file

@ -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)