summaryrefslogtreecommitdiffstats
path: root/src/common/fs/file.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/fs/file.h5
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;