summaryrefslogtreecommitdiff
path: root/src/threading/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading/mutex.h')
-rw-r--r--src/threading/mutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/threading/mutex.h b/src/threading/mutex.h
index 4c9af71bf..f1a4882b7 100644
--- a/src/threading/mutex.h
+++ b/src/threading/mutex.h
@@ -44,6 +44,7 @@ DEALINGS IN THE SOFTWARE.
#include <pthread.h>
#endif
+#include "basicmacros.h"
class Mutex
{
@@ -59,6 +60,8 @@ private:
#else // pthread
pthread_mutex_t mutex;
#endif
+
+ DISABLE_CLASS_COPY(Mutex);
};
#endif // C++11