Update clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I593ddf950d14009ab77251fd6d3f248214661765
diff --git a/inc/hostSelector_switch.hpp b/inc/hostSelector_switch.hpp
index acdae19..3f62012 100644
--- a/inc/hostSelector_switch.hpp
+++ b/inc/hostSelector_switch.hpp
@@ -8,11 +8,12 @@
#include <unistd.h>
-#include <fstream>
-#include <iostream>
#include <nlohmann/json.hpp>
#include <phosphor-logging/elog-errors.hpp>
+#include <fstream>
+#include <iostream>
+
static constexpr std::string_view HOST_SELECTOR = "HOST_SELECTOR";
static constexpr auto INVALID_INDEX = std::numeric_limits<size_t>::max();
@@ -23,10 +24,11 @@
high
};
-class HostSelector final : public sdbusplus::server::object_t<
- sdbusplus::xyz::openbmc_project::Chassis::
- Buttons::server::HostSelector>,
- public ButtonIface
+class HostSelector final :
+ public sdbusplus::server::object_t<
+ sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::
+ HostSelector>,
+ public ButtonIface
{
public:
HostSelector(sdbusplus::bus::bus& bus, const char* path, EventPtr& event,