]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/eventreader.h
Make sure all classes have sensible copy semantics
[libs/core.git] / source / io / eventreader.h
index 01c3721e895a17e728b89500fd36e8a6bd3e1aa0..3c01f09ed8605cca3b518762700d4c85421bbfe0 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_IO_EVENTREADER_H_
 #define MSP_IO_EVENTREADER_H_
 
+#include <msp/core/noncopyable.h>
 #include "handle.h"
 
 namespace Msp {
@@ -18,7 +19,7 @@ empty, a new overlapped read is started.
 Unix-based systems can poll the fd directly, so this class reduces to a simple
 passthrough to sys_read.
 */
-class EventReader
+class EventReader: private NonCopyable
 {
 private:
        struct Private;