commit | d53e3bed1ca4a14b2a86d53eaef6969bd043176e | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 03 10:02:51 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 03 10:02:51 2016 -0700 |
tree | 887a75bd3c30064ed2a00c484fd25cbf5d921ccf | |
parent | 5b93c24bc08d91cd8d6c4701e4dbfa3ddb802753 [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index e6399d4..18cecc2 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -762,7 +762,7 @@ class CanvasContext::FuncTaskProcessor : public TaskProcessor<bool> { public: - FuncTaskProcessor(Caches& caches) + explicit FuncTaskProcessor(Caches& caches) : TaskProcessor<bool>(&caches.tasks) {} virtual void onProcess(const sp<Task<bool> >& task) override {