diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-28 07:49:38 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-28 07:49:40 +0200 |
commit | 210c2c9a560565d644384ddb99098822600ceb7a (patch) | |
tree | 71a3257a2296716cbef125e6b740092436c47411 /src/common | |
parent | common/fs/file: Devirtualize destructor (diff) | |
download | yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar.gz yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar.bz2 yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar.lz yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar.xz yuzu-210c2c9a560565d644384ddb99098822600ceb7a.tar.zst yuzu-210c2c9a560565d644384ddb99098822600ceb7a.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/fs/file.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/fs/file.h b/src/common/fs/file.h index 33a8b9d2f..50e270c5b 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -117,7 +117,7 @@ template <typename Path> } #endif -class IOFile final : NonCopyable { +class IOFile final { public: IOFile(); @@ -144,6 +144,9 @@ public: ~IOFile(); + IOFile(const IOFile&) = delete; + IOFile& operator=(const IOFile&) = delete; + IOFile(IOFile&& other) noexcept; IOFile& operator=(IOFile&& other) noexcept; |