X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Fbase.h;h=92c860d266f1923d275c6f568ef99c4a0e715863;hb=refs%2Fheads%2Fwip;hp=1a1485efc67d752a6e893d6cdb6dd605f78b362f;hpb=122846f0881673770d88eff7d925ecf25c01b62e;p=libs%2Fcore.git diff --git a/source/io/base.h b/source/io/base.h index 1a1485e..92c860d 100644 --- a/source/io/base.h +++ b/source/io/base.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include "handle.h" @@ -15,7 +16,7 @@ namespace IO { /** Common interface for all I/O objects. */ -class Base: private NonCopyable +class MSPCORE_API Base: private NonCopyable { public: /** RAII synchronization primitive. Prevents concurrent access to the @@ -44,7 +45,7 @@ public: protected: Mode mode = M_READ; bool eof_flag = false; - Mutex *mutex = 0; + Mutex *mutex = nullptr; Base(); public: