summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chih-hung Hsieh <chh@google.com> 2016-08-17 17:42:52 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-08-17 17:42:52 +0000
commit67d47e0ca65da572ff97f0ac69a3ee5873a0a135 (patch)
tree2fc3a488a7a7e6625d53cc46b7de3eda8a42da92
parentc5b376ab66d20defca0a60a4ba74bdbb31444d55 (diff)
parentad3dea12eec02584a8126979c9b965c8a86d7ff3 (diff)
Merge "Fix google-explicit-constructor warnings in common_time."
-rw-r--r--libs/common_time/common_clock_service.h2
-rw-r--r--libs/common_time/common_time_config_service.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/common_time/common_clock_service.h b/libs/common_time/common_clock_service.h
index bd663f06d43a..aea507ec0f30 100644
--- a/libs/common_time/common_clock_service.h
+++ b/libs/common_time/common_clock_service.h
@@ -53,7 +53,7 @@ class CommonClockService : public BnCommonClock,
void notifyOnTimelineChanged(uint64_t timelineID);
private:
- CommonClockService(CommonTimeServer& timeServer)
+ explicit CommonClockService(CommonTimeServer& timeServer)
: mTimeServer(timeServer) { };
virtual void binderDied(const wp<IBinder>& who);
diff --git a/libs/common_time/common_time_config_service.h b/libs/common_time/common_time_config_service.h
index 89806dd87e29..23abb1a9e47e 100644
--- a/libs/common_time/common_time_config_service.h
+++ b/libs/common_time/common_time_config_service.h
@@ -49,7 +49,7 @@ class CommonTimeConfigService : public BnCommonTimeConfig {
virtual status_t forceNetworklessMasterMode();
private:
- CommonTimeConfigService(CommonTimeServer& timeServer)
+ explicit CommonTimeConfigService(CommonTimeServer& timeServer)
: mTimeServer(timeServer) { }
CommonTimeServer& mTimeServer;