diff options
Diffstat (limited to 'src')
| -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> | |||
| 117 | } | 117 | } |
| 118 | #endif | 118 | #endif |
| 119 | 119 | ||
| 120 | class IOFile final : NonCopyable { | 120 | class IOFile final { |
| 121 | public: | 121 | public: |
| 122 | IOFile(); | 122 | IOFile(); |
| 123 | 123 | ||
| @@ -144,6 +144,9 @@ public: | |||
| 144 | 144 | ||
| 145 | ~IOFile(); | 145 | ~IOFile(); |
| 146 | 146 | ||
| 147 | IOFile(const IOFile&) = delete; | ||
| 148 | IOFile& operator=(const IOFile&) = delete; | ||
| 149 | |||
| 147 | IOFile(IOFile&& other) noexcept; | 150 | IOFile(IOFile&& other) noexcept; |
| 148 | IOFile& operator=(IOFile&& other) noexcept; | 151 | IOFile& operator=(IOFile&& other) noexcept; |
| 149 | 152 | ||