mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
FS: use std::filesystem::u8path
This commit is contained in:
parent
84753db574
commit
cd016be86e
1 changed files with 1 additions and 1 deletions
|
@ -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::string fs::resolve_path(std::string_view path)
|
||||||
{
|
{
|
||||||
std::error_code ec{};
|
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)
|
if (ec)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue