X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fsemaphore.h;h=4b229450565aca9e637887b4662c7d1810165d76;hb=03862ac4f38db0799872850dc4ab43b88688e4eb;hp=627c91894a27db34f2ee23e78f1ed23a2321d6c0;hpb=967785734be5c3fc6f75da122c2d93ebbb338271;p=libs%2Fcore.git diff --git a/source/core/semaphore.h b/source/core/semaphore.h index 627c918..4b22945 100644 --- a/source/core/semaphore.h +++ b/source/core/semaphore.h @@ -1,17 +1,17 @@ #ifndef MSP_CORE_SEMAPHORE_H_ #define MSP_CORE_SEMAPHORE_H_ -#include "mutex.h" -#include "../time/timedelta.h" +#include +#include "noncopyable.h" namespace Msp { -class Semaphore +class Semaphore: private NonCopyable { private: struct Private; - Private *priv; + Private *priv = 0; public: Semaphore(unsigned);