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/systems.hpp b/redfish-core/lib/systems.hpp
index c9d31d1..19e5e64 100644
--- a/redfish-core/lib/systems.hpp
+++ b/redfish-core/lib/systems.hpp
@@ -139,7 +139,6 @@
const std::vector<std::pair<std::string, dbus::utility::DbusVariantType>>&
properties)
{
-
BMCWEB_LOG_DEBUG << "Got " << properties.size() << " Cpu properties.";
// TODO: Get Model
@@ -185,7 +184,6 @@
const std::string& service,
const std::string& path)
{
-
auto getCpuPresenceState = [aResp](const boost::system::error_code& ec3,
const bool cpuPresenceCheck) {
if (ec3)
@@ -2792,11 +2790,11 @@
*/
inline void doNMI(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
{
- constexpr char const* serviceName = "xyz.openbmc_project.Control.Host.NMI";
- constexpr char const* objectPath = "/xyz/openbmc_project/control/host0/nmi";
- constexpr char const* interfaceName =
+ constexpr const char* serviceName = "xyz.openbmc_project.Control.Host.NMI";
+ constexpr const char* objectPath = "/xyz/openbmc_project/control/host0/nmi";
+ constexpr const char* interfaceName =
"xyz.openbmc_project.Control.Host.NMI";
- constexpr char const* method = "NMI";
+ constexpr const char* method = "NMI";
crow::connections::systemBus->async_method_call(
[asyncResp](const boost::system::error_code& ec) {
@@ -2995,7 +2993,6 @@
*/
inline void requestRoutesSystems(App& app)
{
-
BMCWEB_ROUTE(app, "/redfish/v1/Systems/system/")
.privileges(redfish::privileges::headComputerSystem)
.methods(boost::beast::http::verb::head)(