Supress VS compiler warning C4512:

assignment operator could not be generated
This commit is contained in:
martin-osborne 2014-11-01 12:29:49 +00:00
parent 1e1822f6c6
commit b3ed2d94b5
2 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,10 @@ private:
CRITICAL_SECTION _cs;
int _lockCount;
const bool _recursive;
private:
MutexImpl(const MutexImpl&);
MutexImpl& operator = (const MutexImpl&);
};

View File

@ -42,6 +42,10 @@ private:
HANDLE _mutex;
int _lockCount;
const bool _recursive;
private:
MutexImpl(const MutexImpl&);
MutexImpl& operator = (const MutexImpl&);
};