Skip to content

Commit

Permalink
FS: use std::filesystem::u8path
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse authored and Nekotekina committed Jan 12, 2022
1 parent 84753db commit cd016be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/File.cpp
Expand Up @@ -1826,7 +1826,7 @@ bool fs::remove_all(const std::string& path, bool remove_root)
std::string fs::resolve_path(std::string_view path)
{
std::error_code ec{};
const auto result = std::filesystem::weakly_canonical(std::filesystem::path(path), ec);
const auto result = std::filesystem::weakly_canonical(std::filesystem::u8path(path), ec);

if (ec)
{
Expand Down

0 comments on commit cd016be

Please sign in to comment.