]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/writermode.h
Implement proper copy semantics
[libs/datafile.git] / source / writermode.h
index 05058abe94138dad630dd46281fc721618ac2196..cc37710e9e5f7a26e08f5fd66b30708d2cda6a48 100644 (file)
@@ -1,13 +1,15 @@
 #ifndef MSP_DATAFILE_WRITERMODE_H_
 #define MSP_DATAFILE_WRITERMODE_H_
 
+#include <msp/core/noncopyable.h>
+
 namespace Msp {
 namespace DataFile {
 
 class Output;
 class Statement;
 
-class WriterMode
+class WriterMode: private NonCopyable
 {
 protected:
        Output &out;