diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-11 13:22:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-11 13:22:58 +0000 |
commit | d5479ea4dee1c8a6f298af873668f8dfe3c66766 (patch) | |
tree | 1c9ab106c7eaea7ade9e818e18ccf029e57450ad /include/m_system_cpp.h | |
parent | fb119e1bdee2a9f53705144f7dcbc77f8525cfb4 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r-- | include/m_system_cpp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index c0b324f02b..2bb6d545a1 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -79,6 +79,7 @@ public: class mir_cslock
{
CRITICAL_SECTION& cs;
+ __inline mir_cslock& operator = (const mir_cslock&) { return *this; }
public:
__inline mir_cslock(CRITICAL_SECTION& _cs) : cs(_cs) { ::EnterCriticalSection(&cs); }
@@ -92,6 +93,7 @@ class mir_cslockfull {
CRITICAL_SECTION& cs;
bool bIsLocked;
+ __inline mir_cslockfull& operator = (const mir_cslockfull&) { return *this; }
public:
__inline void lock() { bIsLocked = true; EnterCriticalSection(&cs); }
|