diff options
author | 2016-07-22 00:55:18 +0000 | |
---|---|---|
committer | 2016-07-22 00:55:18 +0000 | |
commit | 5152fd909cf3bb9c7d27f0379f3dc1db619d2b8a (patch) | |
tree | b1ccd5cd96537fb8aac5f3ee7ddd4ef86809df1e /libs/hwui/TextDropShadowCache.h | |
parent | ed6625d9074a1de1515c97faf201a91fbb3abb27 (diff) | |
parent | faecb78a6b11c780db47bc940ca7662899ab5d5e (diff) |
Merge "Fix google-explicit-constructor warnings in frameworks/base"
Diffstat (limited to 'libs/hwui/TextDropShadowCache.h')
-rw-r--r-- | libs/hwui/TextDropShadowCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/TextDropShadowCache.h b/libs/hwui/TextDropShadowCache.h index caf089f6d2a5..1cc10a06feff 100644 --- a/libs/hwui/TextDropShadowCache.h +++ b/libs/hwui/TextDropShadowCache.h @@ -117,7 +117,7 @@ inline hash_t hash_type(const ShadowText& entry) { * Alpha texture used to represent a shadow. */ struct ShadowTexture: public Texture { - ShadowTexture(Caches& caches): Texture(caches) { + explicit ShadowTexture(Caches& caches): Texture(caches) { } float left; @@ -127,7 +127,7 @@ struct ShadowTexture: public Texture { class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> { public: TextDropShadowCache(); - TextDropShadowCache(uint32_t maxByteSize); + explicit TextDropShadowCache(uint32_t maxByteSize); ~TextDropShadowCache(); /** |