diff --git a/src/UESaveFile/BinaryWriter.h b/src/UESaveFile/BinaryWriter.h index 299f40c..0d7a726 100644 --- a/src/UESaveFile/BinaryWriter.h +++ b/src/UESaveFile/BinaryWriter.h @@ -33,6 +33,12 @@ class BinaryWriter { explicit BinaryWriter(const std::string& filename); ~BinaryWriter(); + BinaryWriter(const BinaryWriter& other) = delete; + BinaryWriter& operator=(const BinaryWriter& other) = delete; + + BinaryWriter(BinaryWriter&& other) = default; + BinaryWriter& operator=(BinaryWriter&& other) = default; + auto open() -> bool; void closeFile();