initialize static singleton data, thx to Peter Long
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@834 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
7375e1e987
commit
a0268bf729
1 changed files with 2 additions and 2 deletions
|
@ -759,7 +759,7 @@ namespace Loki
|
||||||
class X
|
class X
|
||||||
>
|
>
|
||||||
typename SingletonHolder<T, C, L, M, X>::PtrInstanceType
|
typename SingletonHolder<T, C, L, M, X>::PtrInstanceType
|
||||||
SingletonHolder<T, C, L, M, X>::pInstance_;
|
SingletonHolder<T, C, L, M, X>::pInstance_ = 0;
|
||||||
|
|
||||||
template
|
template
|
||||||
<
|
<
|
||||||
|
@ -769,7 +769,7 @@ namespace Loki
|
||||||
template <class, class> class M,
|
template <class, class> class M,
|
||||||
class X
|
class X
|
||||||
>
|
>
|
||||||
bool SingletonHolder<T, C, L, M, X>::destroyed_;
|
bool SingletonHolder<T, C, L, M, X>::destroyed_ = false;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// SingletonHolder::Instance
|
// SingletonHolder::Instance
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue