summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-10-12 13:50:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-12 13:50:11 -0700
commit0d602e072cdc03b08d8472e84536bc277a62c01f (patch)
tree6af1e11c0fdf6c5b8c78257eced55a774e193e66 /include
parenta6fb75d8969d4025775de57b96594cc65b8bcf0b (diff)
parent5c78b6861fd4c9246cc88d37178a5567fb668f5b (diff)
downloadframeworks_native-0d602e072cdc03b08d8472e84536bc277a62c01f.zip
frameworks_native-0d602e072cdc03b08d8472e84536bc277a62c01f.tar.gz
frameworks_native-0d602e072cdc03b08d8472e84536bc277a62c01f.tar.bz2
Merge "Reduce the size of libhwui by 50%"
Diffstat (limited to 'include')
-rw-r--r--include/utils/Singleton.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h
index e1ee8eb..a42ce21 100644
--- a/include/utils/Singleton.h
+++ b/include/utils/Singleton.h
@@ -20,12 +20,13 @@
#include <stdint.h>
#include <sys/types.h>
#include <utils/threads.h>
+#include <cutils/compiler.h>
namespace android {
// ---------------------------------------------------------------------------
template <typename TYPE>
-class Singleton
+class ANDROID_API Singleton
{
public:
static TYPE& getInstance() {