commit | 6ca70efdaef8c07e91692101c7a3ae35dc1e0cbb | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Apr 29 16:23:55 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Apr 29 16:23:55 2016 -0700 |
tree | b5f5d2811b066167210792e988c04f072966d58f | |
parent | a5226fb2cf3d03544da1f9d4d44887c4143e0af0 [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I83bb2282249ecd4e39347b90f5fb53788e1fff5b
diff --git a/services/batteryservice/IBatteryPropertiesRegistrar.cpp b/services/batteryservice/IBatteryPropertiesRegistrar.cpp index 46934e0..1fdda43 100644 --- a/services/batteryservice/IBatteryPropertiesRegistrar.cpp +++ b/services/batteryservice/IBatteryPropertiesRegistrar.cpp
@@ -28,7 +28,7 @@ class BpBatteryPropertiesRegistrar : public BpInterface<IBatteryPropertiesRegistrar> { public: - BpBatteryPropertiesRegistrar(const sp<IBinder>& impl) + explicit BpBatteryPropertiesRegistrar(const sp<IBinder>& impl) : BpInterface<IBatteryPropertiesRegistrar>(impl) {} void registerListener(const sp<IBatteryPropertiesListener>& listener) {