summaryrefslogtreecommitdiff
path: root/libs/hwui/DeferredLayerUpdater.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-08-29 14:52:43 -0700
committerChih-Hung Hsieh <chh@google.com>2016-08-29 14:56:58 -0700
commita619ec70cf765d9166f0862e74653711b87307b3 (patch)
tree4ba6f1bcb2df2627fac64cc8ea269d32c04909ca /libs/hwui/DeferredLayerUpdater.h
parentc4c4a1e76e4de30a43c3396d3e0b55209666346d (diff)
Fix google-explicit-constructor warnings in libs/hwui.
* Add explicit keyword to conversion constructors, or add NOLINT for implicit converters. Bug: 28341362 Test: build with WITH_TIDY=1 Change-Id: Id8ca42433a4fc3652e4cb13787c4cb169f20d9a9
Diffstat (limited to 'libs/hwui/DeferredLayerUpdater.h')
-rw-r--r--libs/hwui/DeferredLayerUpdater.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DeferredLayerUpdater.h b/libs/hwui/DeferredLayerUpdater.h
index 44a24c840892..40058223fb48 100644
--- a/libs/hwui/DeferredLayerUpdater.h
+++ b/libs/hwui/DeferredLayerUpdater.h
@@ -35,7 +35,7 @@ class DeferredLayerUpdater : public VirtualLightRefBase {
public:
// Note that DeferredLayerUpdater assumes it is taking ownership of the layer
// and will not call incrementRef on it as a result.
- ANDROID_API DeferredLayerUpdater(Layer* layer);
+ ANDROID_API explicit DeferredLayerUpdater(Layer* layer);
ANDROID_API ~DeferredLayerUpdater();
ANDROID_API bool setSize(int width, int height) {