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.hpp b/epoch_base.hpp index 40025c4..89a7b85 100644 --- a/epoch_base.hpp +++ b/epoch_base.hpp
@@ -4,10 +4,11 @@ #include "property_change_listener.hpp" -#include <chrono> #include <sdbusplus/bus.hpp> #include <xyz/openbmc_project/Time/EpochTime/server.hpp> +#include <chrono> + namespace phosphor { namespace time @@ -18,9 +19,10 @@ * @details A base class that implements xyz.openbmc_project.Time.EpochTime * DBus API for epoch time. */ -class EpochBase : public sdbusplus::server::object::object< - sdbusplus::xyz::openbmc_project::Time::server::EpochTime>, - public PropertyChangeListner +class EpochBase : + public sdbusplus::server::object::object< + sdbusplus::xyz::openbmc_project::Time::server::EpochTime>, + public PropertyChangeListner { public: friend class TestEpochBase;