X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Feventreader.h;h=51785b0b5d7010c771b95add2c68b4540e86ef3b;hb=9b38e20254913629a0db40e8eb8e1c42e1728e41;hp=01c3721e895a17e728b89500fd36e8a6bd3e1aa0;hpb=d16185720fa344263367dbd50c61bfc8183d99a4;p=libs%2Fcore.git diff --git a/source/io/eventreader.h b/source/io/eventreader.h index 01c3721..51785b0 100644 --- a/source/io/eventreader.h +++ b/source/io/eventreader.h @@ -1,6 +1,7 @@ #ifndef MSP_IO_EVENTREADER_H_ #define MSP_IO_EVENTREADER_H_ +#include #include "handle.h" namespace Msp { @@ -18,13 +19,13 @@ 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; Handle &handle; - Private *priv; + Private *priv = 0; public: EventReader(Handle &, unsigned);