From 5c78b6861fd4c9246cc88d37178a5567fb668f5b Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 12 Oct 2011 13:48:51 -0700 Subject: [PATCH] Reduce the size of libhwui by 50% This change removes unnessary symbols. All symbols are hidden by default, public APIs with exported symbols are explicitly marked with ANDROID_API. Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f --- include/utils/Singleton.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h index e1ee8eb06..a42ce210d 100644 --- a/include/utils/Singleton.h +++ b/include/utils/Singleton.h @@ -20,12 +20,13 @@ #include #include #include +#include namespace android { // --------------------------------------------------------------------------- template -class Singleton +class ANDROID_API Singleton { public: static TYPE& getInstance() {