Make Mutex non-copyable
authorMikko Rasa <tdb@tdb.fi>
Tue, 14 Jun 2016 05:13:20 +0000 (08:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 14 Jun 2016 05:13:20 +0000 (08:13 +0300)
source/core/mutex.h

index 0fe9e82087ff67d4c51d1d7bcde0f2a10d668138..71fbdf0c6e5796423274049dc28a05dfba42cbb2 100644 (file)
@@ -18,6 +18,8 @@ private:
 
        Private *priv;
 
+       Mutex(const Mutex &);
+       Mutex &operator=(const Mutex &);
 public:
        Mutex();
        ~Mutex();