From cd016be86e2faeaf940d6bc45742b564f2e0929c Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 12 Jan 2022 21:20:28 +0100 Subject: [PATCH] FS: use std::filesystem::u8path --- Utilities/File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/File.cpp b/Utilities/File.cpp index 9c236a2d64..42f56612c1 100644 --- a/Utilities/File.cpp +++ b/Utilities/File.cpp @@ -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) {