]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/parsermode.h
Implement proper copy semantics
[libs/datafile.git] / source / parsermode.h
index 491647e4b09a0b9c307d4f4aa32a6078403ed9a5..5c9deceb7d2c289b224c7b5a20ed8dc9cf69131d 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_DATAFILE_PARSERMODE_H_
 #define MSP_DATAFILE_PARSERMODE_H_
 
+#include <msp/core/noncopyable.h>
 #include "statement.h"
 
 namespace Msp {
@@ -13,7 +14,7 @@ class LoaderAction;
 /**
 Base class for parse modes.
 */
-class ParserMode
+class ParserMode: private NonCopyable
 {
 protected:
        Input &in;