Clang-format-18
These files were checked in during the clang-18 merge. Update them.
Change-Id: I857a87dac29469a4c24e83c6ee8b7c8461002f04
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/http/logging.hpp b/http/logging.hpp
index 526d186..a9cf9a3 100644
--- a/http/logging.hpp
+++ b/http/logging.hpp
@@ -67,8 +67,7 @@
// NOLINTNEXTLINE(google-explicit-constructor)
FormatString(const char* stringIn, const std::source_location& locIn =
std::source_location::current()) :
- str(stringIn),
- loc(locIn)
+ str(stringIn), loc(locIn)
{}
};
diff --git a/src/webserver_cli.cpp b/src/webserver_cli.cpp
index e17d800..546e40a 100644
--- a/src/webserver_cli.cpp
+++ b/src/webserver_cli.cpp
@@ -40,14 +40,14 @@
// Attempt to async_call to set logging level
conn->async_method_call(
[&io](boost::system::error_code& ec) mutable {
- if (ec)
- {
- BMCWEB_LOG_ERROR("SetLogLevel returned error with {}", ec);
- return;
- }
- BMCWEB_LOG_INFO("Successfully changed log-level ");
- io.stop();
- },
+ if (ec)
+ {
+ BMCWEB_LOG_ERROR("SetLogLevel returned error with {}", ec);
+ return;
+ }
+ BMCWEB_LOG_INFO("Successfully changed log-level ");
+ io.stop();
+ },
service, path, iface, method, loglevel);
io.run();