summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventControlThread.h
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-09-01 11:34:16 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-09-01 11:34:16 -0700
commit342b760763300593cd20b01dac8cef61e7b25b86 (patch)
tree4a5c15af0d0d43965c2d9079f4a6e1292b291584 /services/surfaceflinger/EventControlThread.h
parent0322a7176f4c432cae50c72657ad31a8c3b43016 (diff)
Fix google-explicit-constructor warnings in surfaceflinger.
* Add explicit keyword to conversion constructors, or use NOLINT for implicit converters. Bug: 28341362 Test: build with WITH_TIDY=1 Change-Id: I94f511c3be31dc22022db6466ee9ed0c6be2bc8e
Diffstat (limited to 'services/surfaceflinger/EventControlThread.h')
-rw-r--r--services/surfaceflinger/EventControlThread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/EventControlThread.h b/services/surfaceflinger/EventControlThread.h
index be6c53aa32..9368db6fc8 100644
--- a/services/surfaceflinger/EventControlThread.h
+++ b/services/surfaceflinger/EventControlThread.h
@@ -29,7 +29,7 @@ class SurfaceFlinger;
class EventControlThread: public Thread {
public:
- EventControlThread(const sp<SurfaceFlinger>& flinger);
+ explicit EventControlThread(const sp<SurfaceFlinger>& flinger);
virtual ~EventControlThread() {}
void setVsyncEnabled(bool enabled);