diff options
| author | 2009-05-28 12:31:31 -0700 | |
|---|---|---|
| committer | 2009-05-28 12:31:31 -0700 | |
| commit | e9d7445acea438b731273ac91114426bf1e5056c (patch) | |
| tree | 4c6c7c8d44a2a8892efb93258b26f2d6c736810b | |
| parent | 1837beb08d3b7f1ddd68bff1969e66a57f104075 (diff) | |
force explicit instantiation of Singleton<> objects
| -rw-r--r-- | include/utils/Singleton.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h index 2f7c7c2dbf25..bc7626a82139 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); |