diff options
| author | 2016-08-17 17:42:52 +0000 | |
|---|---|---|
| committer | 2016-08-17 17:42:52 +0000 | |
| commit | 67d47e0ca65da572ff97f0ac69a3ee5873a0a135 (patch) | |
| tree | 2fc3a488a7a7e6625d53cc46b7de3eda8a42da92 | |
| parent | c5b376ab66d20defca0a60a4ba74bdbb31444d55 (diff) | |
| parent | ad3dea12eec02584a8126979c9b965c8a86d7ff3 (diff) | |
Merge "Fix google-explicit-constructor warnings in common_time."
| -rw-r--r-- | libs/common_time/common_clock_service.h | 2 | ||||
| -rw-r--r-- | libs/common_time/common_time_config_service.h | 2 |
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; |