|
@@ -117,7 +117,7 @@ template <typename Path>
|
|
|
}
|
|
}
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
-class IOFile final : NonCopyable {
|
|
|
|
|
|
|
+class IOFile final {
|
|
|
public:
|
|
public:
|
|
|
IOFile();
|
|
IOFile();
|
|
|
|
|
|
|
@@ -144,6 +144,9 @@ public:
|
|
|
|
|
|
|
|
~IOFile();
|
|
~IOFile();
|
|
|
|
|
|
|
|
|
|
+ IOFile(const IOFile&) = delete;
|
|
|
|
|
+ IOFile& operator=(const IOFile&) = delete;
|
|
|
|
|
+
|
|
|
IOFile(IOFile&& other) noexcept;
|
|
IOFile(IOFile&& other) noexcept;
|
|
|
IOFile& operator=(IOFile&& other) noexcept;
|
|
IOFile& operator=(IOFile&& other) noexcept;
|
|
|
|
|
|