summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-06-30 14:19:12 -0700
committerChih-Hung Hsieh <chh@google.com>2016-06-30 14:20:59 -0700
commit04159bb35f6c01ad9e4984281d0cefc28960bd9e (patch)
tree5b2d869eeb5be0d3db315acabc238a63edbe83dd
parentb3a0cc6fab6bb4d7ce0c5134bb011dc8e49dd03b (diff)
downloadplatform_hardware_libhardware_legacy-04159bb35f6c01ad9e4984281d0cefc28960bd9e.tar.gz
platform_hardware_libhardware_legacy-04159bb35f6c01ad9e4984281d0cefc28960bd9e.tar.bz2
platform_hardware_libhardware_legacy-04159bb35f6c01ad9e4984281d0cefc28960bd9e.zip
Fix google-explicit-constructor warnings in libhardware_legacy
Bug: 28341362 Change-Id: I9b370ece9506591abfff46d5edb726a7fc993298 Test: build with clang-tidy
-rw-r--r--audio/AudioPolicyManagerDefault.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/AudioPolicyManagerDefault.h b/audio/AudioPolicyManagerDefault.h
index 0307976..987fdf0 100644
--- a/audio/AudioPolicyManagerDefault.h
+++ b/audio/AudioPolicyManagerDefault.h
@@ -26,7 +26,7 @@ class AudioPolicyManagerDefault: public AudioPolicyManagerBase
{
public:
- AudioPolicyManagerDefault(AudioPolicyClientInterface *clientInterface)
+ explicit AudioPolicyManagerDefault(AudioPolicyClientInterface *clientInterface)
: AudioPolicyManagerBase(clientInterface) {}
virtual ~AudioPolicyManagerDefault() {}