summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-11-09 21:43:20 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-09 21:43:20 -0600
commit6a07ddb302fb3e1677aede8ca24cfe0b09c2eeb4 (patch)
tree60ad86dd827967e81bebf18402f38b76516db239
parentd5ba008aa7b8b46cb09d670c7d1d012b4cd4635f (diff)
downloadphosphor-time-manager-6a07ddb302fb3e1677aede8ca24cfe0b09c2eeb4.tar.gz
phosphor-time-manager-6a07ddb302fb3e1677aede8ca24cfe0b09c2eeb4.zip
time-config: fix warning for incorrect constructor order
Change-Id: I0f63bc9d4d03e901af0879843994c30104dca23d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
-rw-r--r--time-config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/time-config.cpp b/time-config.cpp
index e6af708..da54581 100644
--- a/time-config.cpp
+++ b/time-config.cpp
@@ -20,14 +20,14 @@ std::map<std::string, TimeConfig::FUNCTOR> TimeConfig::iv_TimeParams = {
};
TimeConfig::TimeConfig() :
+ iv_dbus(nullptr),
iv_CurrTimeMode(timeModes::NTP),
iv_RequestedTimeMode(timeModes::NTP),
iv_CurrTimeOwner(timeOwners::BMC),
iv_RequestedTimeOwner(timeOwners::BMC),
iv_CurrDhcpNtp("yes"),
iv_SettingChangeAllowed(false),
- iv_SplitModeChanged(false),
- iv_dbus(nullptr)
+ iv_SplitModeChanged(false)
{
// Not really having anything to do here.
}
OpenPOWER on IntegriCloud