]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/poll.h
Make sure all classes have sensible copy semantics
[libs/core.git] / source / io / poll.h
index 952ea896068aff1c0da8bbcf2d14841a5364d3b2..b65166d24bffb7cf8d7aea7e30f09f525c7b84d2 100644 (file)
@@ -4,6 +4,7 @@
 #include <list>
 #include <map>
 #include <vector>
+#include <msp/core/noncopyable.h>
 #include <msp/time/timedelta.h>
 
 namespace Msp {
@@ -31,7 +32,7 @@ inline PollEvent operator~(PollEvent e)
 { return PollEvent(~static_cast<int>(e)); }
 
 
-class Poller
+class Poller: private NonCopyable
 {
 public:
        struct Slot