From 7106462ac507b2f68bf024ae769da93e52333eeb Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Fri, 28 May 2021 09:38:07 +0200 Subject: [PATCH] early-access version 1719 --- README.md | 2 +- src/common/fs/file.h | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c77015b29..8bf9ca6d7 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1718. +This is the source code for early-access 1719. ## Legal Notice diff --git a/src/common/fs/file.h b/src/common/fs/file.h index 209f9664b..50e270c5b 100755 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -117,7 +117,7 @@ template } #endif -class IOFile final : NonCopyable { +class IOFile final { public: IOFile(); @@ -142,7 +142,10 @@ public: FileType type = FileType::BinaryFile, FileShareFlag flag = FileShareFlag::ShareReadOnly); - virtual ~IOFile(); + ~IOFile(); + + IOFile(const IOFile&) = delete; + IOFile& operator=(const IOFile&) = delete; IOFile(IOFile&& other) noexcept; IOFile& operator=(IOFile&& other) noexcept; @@ -441,8 +444,8 @@ public: private: std::filesystem::path file_path; - FileAccessMode file_access_mode; - FileType file_type; + FileAccessMode file_access_mode{}; + FileType file_type{}; std::FILE* file = nullptr; };