]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.h
Implement proper copy semantics
[libs/datafile.git] / source / input.h
index a9c96f48abce9cdf9e533e640f3913c8849e0d7f..d30abd618b755c6e4c524ba1174345a1b2da08c8 100644 (file)
@@ -1,12 +1,13 @@
 #ifndef MSP_DATAFILE_INPUT_H_
 #define MSP_DATAFILE_INPUT_H_
 
+#include <msp/core/noncopyable.h>
 #include <msp/io/base.h>
 
 namespace Msp {
 namespace DataFile {
 
-class Input
+class Input: private NonCopyable
 {   
 private:
        IO::Base *in;