diff options
| author | Mathias Agopian <mathias@google.com> | 2009-05-28 12:31:31 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-05-28 12:31:31 -0700 |
| commit | e9d7445acea438b731273ac91114426bf1e5056c (patch) | |
| tree | 4c6c7c8d44a2a8892efb93258b26f2d6c736810b /include/utils/Singleton.h | |
| parent | 1837beb08d3b7f1ddd68bff1969e66a57f104075 (diff) | |
| download | frameworks_base-e9d7445acea438b731273ac91114426bf1e5056c.zip frameworks_base-e9d7445acea438b731273ac91114426bf1e5056c.tar.gz frameworks_base-e9d7445acea438b731273ac91114426bf1e5056c.tar.bz2 | |
force explicit instantiation of Singleton<> objects
Diffstat (limited to 'include/utils/Singleton.h')
| -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 2f7c7c2..bc7626a8 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); |
