mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Replace Platform::GetAbsolutePath() with fs:: equivalent
This commit is contained in:
@@ -86,8 +86,8 @@ namespace Path
|
||||
|
||||
std::string GetAbsolute(std::string_view relative)
|
||||
{
|
||||
utf8 absolute[MAX_PATH];
|
||||
return Platform::GetAbsolutePath(absolute, sizeof(absolute), std::string(relative).c_str());
|
||||
std::error_code ec;
|
||||
return fs::absolute(u8path(relative), ec).u8string();
|
||||
}
|
||||
|
||||
bool Equals(std::string_view a, std::string_view b)
|
||||
|
||||
Reference in New Issue
Block a user