diff options
Diffstat (limited to 'source/cCriticalSection.h')
-rw-r--r-- | source/cCriticalSection.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cCriticalSection.h b/source/cCriticalSection.h index 8faa04765..414c970f7 100644 --- a/source/cCriticalSection.h +++ b/source/cCriticalSection.h @@ -45,6 +45,9 @@ public: // Temporarily unlock or re-lock:
void Lock(void);
void Unlock(void);
+
+private:
+ DISALLOW_COPY_AND_ASSIGN(cCSLock);
} ;
@@ -58,6 +61,9 @@ class cCSUnlock public:
cCSUnlock(cCSLock & a_Lock);
~cCSUnlock();
+
+private:
+ DISALLOW_COPY_AND_ASSIGN(cCSUnlock);
} ;
|