ObjectLevelLockable: add copy ctor which creates a new mutex. Thanks to sourceforge::horodrigues
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@170 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
c33413b35c
commit
baa2869479
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ namespace Loki
|
|||
{
|
||||
::InitializeCriticalSection(&mtx_);
|
||||
}
|
||||
|
||||
ObjectLevelLockable( const ObjectLevelLockable& )
|
||||
{
|
||||
::InitializeCriticalSection(&mtx_);
|
||||
}
|
||||
|
||||
~ObjectLevelLockable()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue