disable mt classes when threading is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@337 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
a2d383198c
commit
698ffbff54
1 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,8 @@ namespace ThreadsTestPrivate
|
|||
}
|
||||
};
|
||||
|
||||
#if defined(LOKI_CLASS_LEVEL_THREADING) || defined(LOKI_OBJECT_LEVEL_THREADING)
|
||||
|
||||
class ClassLevel : public Loki::ClassLevelLockable<ClassLevel>
|
||||
{
|
||||
int i;
|
||||
|
@ -57,7 +59,11 @@ namespace ThreadsTestPrivate
|
|||
i++;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}//namespace Loki
|
||||
|
||||
|
||||
class ThreadsTest : public Test
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue