commit | c6d33972d95fd77dbbe5a249ee35ba90e25314f8 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jun 22 10:35:29 2020 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Mon Jun 22 10:35:29 2020 +0800 |
tree | a58d479b71dfdd5f94105f5c487537b57f7a7224 | |
parent | 0a70452ab01fd76f852c7bd656ae4b36cac5f222 [diff] [blame] |
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest. https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I6bd62f057c6881b4e931c1968d71ce5478832d73
diff --git a/epoch_base.cpp b/epoch_base.cpp index 507c5ff..96552ac 100644 --- a/epoch_base.cpp +++ b/epoch_base.cpp
@@ -1,12 +1,13 @@ #include "epoch_base.hpp" -#include <iomanip> #include <phosphor-logging/elog-errors.hpp> #include <phosphor-logging/elog.hpp> #include <phosphor-logging/log.hpp> -#include <sstream> #include <xyz/openbmc_project/Time/error.hpp> +#include <iomanip> +#include <sstream> + namespace // anonymous { constexpr auto SYSTEMD_TIME_SERVICE = "org.freedesktop.timedate1"; @@ -25,8 +26,7 @@ EpochBase::EpochBase(sdbusplus::bus::bus& bus, const char* objPath) : sdbusplus::server::object::object<EpochTime>(bus, objPath), bus(bus) -{ -} +{} void EpochBase::onModeChanged(Mode mode) {