summaryrefslogtreecommitdiffstats
path: root/libutils/include/utils/Singleton.h
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-08-01 23:08:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-01 23:08:18 +0000
commite4bd153e55a3dc39ae95e15c6995b310d08b8007 (patch)
tree467001f658be28be0bf410260a8a976e36e5c00b /libutils/include/utils/Singleton.h
parent2a2a8d9ec04676974a2c1edfc0715e8b1a66f903 (diff)
parent85244e8bc2702f9a46782c5075b832b7c1d96900 (diff)
downloadsystem_core-e4bd153e55a3dc39ae95e15c6995b310d08b8007.tar.gz
system_core-e4bd153e55a3dc39ae95e15c6995b310d08b8007.tar.bz2
system_core-e4bd153e55a3dc39ae95e15c6995b310d08b8007.zip
Merge "Fix misc-macro-parentheses warnings in system/core."
Diffstat (limited to 'libutils/include/utils/Singleton.h')
-rw-r--r--libutils/include/utils/Singleton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/include/utils/Singleton.h b/libutils/include/utils/Singleton.h
index a989a4703..abb72f510 100644
--- a/libutils/include/utils/Singleton.h
+++ b/libutils/include/utils/Singleton.h
@@ -82,7 +82,7 @@ private:
#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
template<> ::android::Mutex \
(::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \
- template<> TYPE* ::android::Singleton< TYPE >::sInstance(0); \
+ template<> TYPE* ::android::Singleton< TYPE >::sInstance(0); /* NOLINT */ \
template class ::android::Singleton< TYPE >;