summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-27 08:17:48 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-27 08:17:48 -0700
commitf671385e71644b6f34a06f425aff8dd16ffc0105 (patch)
tree2f93161074ea25d8462ccd90cc2181ec5d8259ed /include
parent225c66a48cdc3acef21ee380dc134449749d3cb3 (diff)
parent9801575a65f2f9d0bdc924ec0a4bbfb6ef071bbe (diff)
downloadframeworks_native-f671385e71644b6f34a06f425aff8dd16ffc0105.zip
frameworks_native-f671385e71644b6f34a06f425aff8dd16ffc0105.tar.gz
frameworks_native-f671385e71644b6f34a06f425aff8dd16ffc0105.tar.bz2
am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"
* commit '9801575a65f2f9d0bdc924ec0a4bbfb6ef071bbe': Fixed clang build error for libgui
Diffstat (limited to 'include')
-rw-r--r--include/utils/Singleton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h
index a42ce21..c60680e 100644
--- a/include/utils/Singleton.h
+++ b/include/utils/Singleton.h
@@ -65,9 +65,9 @@ private:
*/
#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
- template class Singleton< TYPE >; \
template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
- template<> TYPE* Singleton< TYPE >::sInstance(0);
+ template<> TYPE* Singleton< TYPE >::sInstance(0); \
+ template class Singleton< TYPE >;
// ---------------------------------------------------------------------------