summaryrefslogtreecommitdiff
path: root/include/utils/Singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/Singleton.h')
-rw-r--r--include/utils/Singleton.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h
index 2f7c7c2dbf..bc7626a821 100644
--- a/include/utils/Singleton.h
+++ b/include/utils/Singleton.h
@@ -57,6 +57,7 @@ private:
*/
#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
+ template class Singleton< TYPE >; \
template< class TYPE > Mutex Singleton< TYPE >::sLock; \
template<> TYPE* Singleton< TYPE >::sInstance(0);