X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fsemaphore.h;h=28c3b3d72cb8f009fd4474cfa73ab586db1a1d02;hp=61118c734febffa1e5da463e5ead628074a144ad;hb=HEAD;hpb=d16185720fa344263367dbd50c61bfc8183d99a4 diff --git a/source/core/semaphore.h b/source/core/semaphore.h index 61118c7..f504289 100644 --- a/source/core/semaphore.h +++ b/source/core/semaphore.h @@ -2,16 +2,17 @@ #define MSP_CORE_SEMAPHORE_H_ #include -#include "mutex.h" +#include "mspcore_api.h" +#include "noncopyable.h" namespace Msp { -class Semaphore +class MSPCORE_API Semaphore: private NonCopyable { private: struct Private; - Private *priv; + Private *priv = nullptr; public: Semaphore(unsigned);