clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I75f89d2959b0f1338c20d72ad669fbdc1d720835
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/power.hpp b/redfish-core/lib/power.hpp
index 5d7bbb7..a0eadf5 100644
--- a/redfish-core/lib/power.hpp
+++ b/redfish-core/lib/power.hpp
@@ -121,7 +121,6 @@
}
inline void requestRoutesPower(App& app)
{
-
BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/Power/")
.privileges(redfish::privileges::getPower)
.methods(boost::beast::http::verb::get)(
@@ -178,8 +177,8 @@
len = end - (lastPos + 1);
}
- std::string interfaceChassisName =
- chassis.substr(lastPos + 1, len);
+ std::string interfaceChassisName = chassis.substr(lastPos + 1,
+ len);
if (interfaceChassisName == sensorAsyncResp->chassisId)
{
found = true;