commit | c406791ead6d864ec693ad01a80c5f471bdc2a7a | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 03 14:03:27 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 03 17:55:04 2016 -0700 |
tree | 16df8cb3e881d21fd5b233ec3f233f7a292d900f | |
parent | 6fa789211e0d2d0a488bdade34f19b5ea6e5923b [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I7e061f68acdde368a3b63c029b928133646ebff2
diff --git a/services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp b/services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp index 6ebcdfe..aa45725 100644 --- a/services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp +++ b/services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp
@@ -91,7 +91,7 @@ class HWC2On1Adapter::Callbacks : public hwc_procs_t { public: - Callbacks(HWC2On1Adapter& adapter) : mAdapter(adapter) { + explicit Callbacks(HWC2On1Adapter& adapter) : mAdapter(adapter) { invalidate = &invalidateHook; vsync = &vsyncHook; hotplug = &hotplugHook;