From 1fd05fc0d04adf7441ed3a83089e3b8716a72c20 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 14 Jun 2016 08:13:20 +0300 Subject: [PATCH] Make Mutex non-copyable --- source/core/mutex.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/core/mutex.h b/source/core/mutex.h index 0fe9e82..71fbdf0 100644 --- a/source/core/mutex.h +++ b/source/core/mutex.h @@ -18,6 +18,8 @@ private: Private *priv; + Mutex(const Mutex &); + Mutex &operator=(const Mutex &); public: Mutex(); ~Mutex(); -- 2.43.0