remove superfluous template parameter dependency
This commit is contained in:
parent
48431d822d
commit
66b62e2146
1 changed files with 3 additions and 5 deletions
|
|
@ -66,11 +66,10 @@ namespace lib {
|
|||
>
|
||||
class SingletonFactory
|
||||
{
|
||||
typedef SI* volatile PType;
|
||||
typedef lib::ClassLock<SI> ThreadLock;
|
||||
|
||||
static PType pInstance_;
|
||||
static bool isDead_;
|
||||
static SI* volatile pInstance_;
|
||||
static bool isDead_;
|
||||
|
||||
|
||||
public:
|
||||
|
|
@ -122,8 +121,7 @@ namespace lib {
|
|||
template <class> class C,
|
||||
template <class> class L
|
||||
>
|
||||
typename SingletonFactory<SI,C,L>::PType
|
||||
SingletonFactory<SI,C,L>::pInstance_;
|
||||
SI* volatile SingletonFactory<SI,C,L>::pInstance_;
|
||||
|
||||
template
|
||||
< class SI,
|
||||
|
|
|
|||
Loading…
Reference in a new issue