summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-02-01 08:29:36 +0100
committerGitHub <noreply@github.com>2022-02-01 08:29:36 +0100
commit7432343214ae5c5b5e2937b601487d81d597c1a4 (patch)
tree69a8e106636e984a1330fce5aa1a74421cbf4851
parentMerge pull request #7824 from lioncash/scache (diff)
parentcommon/file: Remove [[nodiscard]] from Open() (diff)
downloadyuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar.gz
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar.bz2
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar.lz
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar.xz
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.tar.zst
yuzu-7432343214ae5c5b5e2937b601487d81d597c1a4.zip
-rw-r--r--src/common/fs/file.h5
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);