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
|
||||
>
|
||||
typename SingletonHolder<T, C, L, M, X>::PtrInstanceType
|
||||
SingletonHolder<T, C, L, M, X>::pInstance_;
|
||||
SingletonHolder<T, C, L, M, X>::pInstance_ = 0;
|
||||
|
||||
template
|
||||
<
|
||||
|
@ -769,7 +769,7 @@ namespace Loki
|
|||
template <class, class> class M,
|
||||
class X
|
||||
>
|
||||
bool SingletonHolder<T, C, L, M, X>::destroyed_;
|
||||
bool SingletonHolder<T, C, L, M, X>::destroyed_ = false;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// SingletonHolder::Instance
|
||||
|
|
Loading…
Add table
Reference in a new issue