summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/EglManager.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-08-10 14:08:35 -0700
committerChih-Hung Hsieh <chh@google.com>2016-08-10 16:01:29 -0700
commit49796451cb9d1dae580618eb320ef3c5e6d90cd4 (patch)
tree41cc259d150f06a83fa67ffefd32e40546866d5d /libs/hwui/renderthread/EglManager.h
parent04db685ce5ceb34d8fd6436254d22324c829bfd9 (diff)
Fix clang-tidy warnings in libs/hwui.
* Add explicit keyword to conversion constructors. Bug: 28341362 * Use const reference type for read-only parameters. Bug: 30407689 Test: build with WITH_TIDY=1 Change-Id: Iab3e6636f60a70cb124f29dc19f20f842fa8dfda
Diffstat (limited to 'libs/hwui/renderthread/EglManager.h')
-rw-r--r--libs/hwui/renderthread/EglManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.h b/libs/hwui/renderthread/EglManager.h
index 459baed70e40..41047fecf960 100644
--- a/libs/hwui/renderthread/EglManager.h
+++ b/libs/hwui/renderthread/EglManager.h
@@ -86,7 +86,7 @@ public:
private:
friend class RenderThread;
- EglManager(RenderThread& thread);
+ explicit EglManager(RenderThread& thread);
// EglContext is never destroyed, method is purposely not implemented
~EglManager();