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