Merge "Fixed clang build error for libgui"
This commit is contained in:
commit
908c8ff554
@ -65,9 +65,9 @@ private:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
|
#define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
|
||||||
template class Singleton< TYPE >; \
|
|
||||||
template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
|
template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
|
||||||
template<> TYPE* Singleton< TYPE >::sInstance(0);
|
template<> TYPE* Singleton< TYPE >::sInstance(0); \
|
||||||
|
template class Singleton< TYPE >;
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user