apply new lifetime policy to avoid crash on exit in test/Factory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@340 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
a17791f2c8
commit
d805e8d90b
4 changed files with 21 additions and 17 deletions
|
@ -61,8 +61,7 @@ typedef SingletonHolder
|
|||
<
|
||||
MyFunctionObject,
|
||||
CreateUsingNew,
|
||||
FollowIntoDeath::AfterMaster<Function<>::Impl::ObjAllocatorSingleton
|
||||
>::IsDestroyed
|
||||
FollowIntoDeath::AfterMaster<Function<>::Impl::ObjAllocatorSingleton>::IsDestroyed
|
||||
>
|
||||
Singleton_MyFunctionObject1;
|
||||
|
||||
|
@ -70,8 +69,7 @@ typedef SingletonHolder
|
|||
<
|
||||
MyFunctionObject,
|
||||
CreateUsingNew,
|
||||
FollowIntoDeath::AfterMaster<Functor<>::Impl::ObjAllocatorSingleton
|
||||
>::IsDestroyed
|
||||
FollowIntoDeath::AfterMaster<Functor<>::Impl::ObjAllocatorSingleton>::IsDestroyed
|
||||
>
|
||||
Singleton_MyFunctionObject2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue