Richard Thompson / MutexLocker

Dependents:   SmartLight HelloThreadsYo

Revision:
3:aab6944f2ed3
Parent:
2:8bf85ca6ccee
--- a/mutexlocker.h	Thu Apr 10 22:14:23 2014 +0000
+++ b/mutexlocker.h	Thu Apr 10 22:18:40 2014 +0000
@@ -24,4 +24,7 @@
     }
 private:
     Mutex &m_mutex;
+    // Disable copy
+    MutexLocker & operator=(const MutexLocker&);
+    MutexLocker(const MutexLocker &);
 };