diff options
author | Romain Guy <romainguy@google.com> | 2011-10-12 13:50:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-12 13:50:11 -0700 |
commit | 0d602e072cdc03b08d8472e84536bc277a62c01f (patch) | |
tree | 6af1e11c0fdf6c5b8c78257eced55a774e193e66 /include | |
parent | a6fb75d8969d4025775de57b96594cc65b8bcf0b (diff) | |
parent | 5c78b6861fd4c9246cc88d37178a5567fb668f5b (diff) | |
download | frameworks_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.h | 3 |
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() { |