summaryrefslogtreecommitdiff
path: root/include/fud_c_file.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_c_file.hpp')
-rw-r--r--include/fud_c_file.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp
index f89839d..281d216 100644
--- a/include/fud_c_file.hpp
+++ b/include/fud_c_file.hpp
@@ -86,10 +86,13 @@ class CBinaryFile {
public:
CBinaryFile(const String& filename, CFileMode mode);
CBinaryFile(const String& filename, CFileMode mode, const String& extraFlags);
+ CBinaryFile(const CBinaryFile& rhs) = delete;
~CBinaryFile();
+ CBinaryFile& operator=(const CBinaryFile& rhs) = delete;
FileResult open();
void close();
const FILE* file() const;
+ FILE* file();
private:
String m_filename;