diff options
Diffstat (limited to 'src/threading/semaphore.h')
-rw-r--r-- | src/threading/semaphore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/threading/semaphore.h b/src/threading/semaphore.h index 58d758f2e..736f2bc78 100644 --- a/src/threading/semaphore.h +++ b/src/threading/semaphore.h @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <semaphore.h> #endif +#include "basicmacros.h" class Semaphore { public: @@ -46,6 +47,8 @@ private: #else sem_t semaphore; #endif + + DISABLE_CLASS_COPY(Semaphore); }; #endif |