diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-20 19:35:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 19:35:41 +0100 |
commit | 61ce0088ae0cc962632dc0df998a21aa21e64554 (patch) | |
tree | f64f0805bc23da9469f89aa6859a9a3749d89e9f /src/common/fs | |
parent | Merge pull request #12721 from t895/card-elevation (diff) | |
parent | fs/file: Explicitly convert std::u8string to std::filesystem::path (diff) | |
download | yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar.gz yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar.bz2 yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar.lz yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar.xz yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.tar.zst yuzu-61ce0088ae0cc962632dc0df998a21aa21e64554.zip |
Diffstat (limited to 'src/common/fs')
-rw-r--r-- | src/common/fs/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fs/file.h b/src/common/fs/file.h index 167c4d826..2e2396075 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -37,7 +37,7 @@ void OpenFileStream(FileStream& file_stream, const std::filesystem::path& path, template <typename FileStream, typename Path> void OpenFileStream(FileStream& file_stream, const Path& path, std::ios_base::openmode open_mode) { if constexpr (IsChar<typename Path::value_type>) { - file_stream.open(ToU8String(path), open_mode); + file_stream.open(std::filesystem::path{ToU8String(path)}, open_mode); } else { file_stream.open(std::filesystem::path{path}, open_mode); } |