aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/singleton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/singleton.h b/common/singleton.h
index 8ea666cbed..711626781f 100644
--- a/common/singleton.h
+++ b/common/singleton.h
@@ -60,7 +60,7 @@ protected:
//template <class T>
//T* Singleton<T>::_singleton=0;
-#define DECLARE_SINGLETON(T) T* Common::Singleton<T>::_singleton=0
+#define DECLARE_SINGLETON(T) template<> T* Common::Singleton<T>::_singleton=0
} // End of namespace Common