diff options
author | Lioncash <mathew1800@gmail.com> | 2022-02-01 08:19:16 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-02-01 08:19:21 +0100 |
commit | 8f32bab4c98c6842840c7818a0c08d8de4b5d5cb (patch) | |
tree | d0e54dbcb1d3e2b5de8d6c060f1c8d237e7b72ea /src/common | |
parent | Merge pull request #7791 from german77/wall_clock (diff) | |
download | yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar.gz yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar.bz2 yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar.lz yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar.xz yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.tar.zst yuzu-8f32bab4c98c6842840c7818a0c08d8de4b5d5cb.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/fs/file.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/fs/file.h b/src/common/fs/file.h index 2c4ab4332..a4f7944cd 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -188,9 +188,8 @@ public: #ifdef _WIN32 template <typename Path> - [[nodiscard]] void Open(const Path& path, FileAccessMode mode, - FileType type = FileType::BinaryFile, - FileShareFlag flag = FileShareFlag::ShareReadOnly) { + void Open(const Path& path, FileAccessMode mode, FileType type = FileType::BinaryFile, + FileShareFlag flag = FileShareFlag::ShareReadOnly) { using ValueType = typename Path::value_type; if constexpr (IsChar<ValueType>) { Open(ToU8String(path), mode, type, flag); |