diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-10-20 19:20:21 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-10-24 21:17:16 +0300 |
commit | 5a39f77a17fa28911c87caea1e2903c059e7ec41 (patch) | |
tree | a2a2ff266238e7e9322e36eb2d9c92cf18829406 /include/obmc_console.hpp | |
parent | e9cc1bc93c4ad9662c93e2a98d4c787e2dbf9f07 (diff) | |
download | bmcweb-5a39f77a17fa28911c87caea1e2903c059e7ec41.tar.xz |
clang-format: copy latest and re-format
clang-format-17 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: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'include/obmc_console.hpp')
-rw-r--r-- | include/obmc_console.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/obmc_console.hpp b/include/obmc_console.hpp index 2dd3edbf51..fb363be275 100644 --- a/include/obmc_console.hpp +++ b/include/obmc_console.hpp @@ -71,7 +71,7 @@ class ConsoleHandler : public std::enable_shared_from_this<ConsoleHandler> return; } self->doWrite(); - }); + }); } static void afterSendEx(const std::weak_ptr<ConsoleHandler>& weak) @@ -107,7 +107,7 @@ class ConsoleHandler : public std::enable_shared_from_this<ConsoleHandler> std::string_view payload(outputBuffer.data(), bytesRead); self->conn.sendEx(crow::websocket::MessageType::Binary, payload, std::bind_front(afterSendEx, weak_from_this())); - }); + }); } bool connect(int fd) @@ -247,7 +247,7 @@ inline void [&conn](const boost::system::error_code& ec1, const sdbusplus::message::unix_fd& unixfd) { connectConsoleSocket(conn, ec1, unixfd); - }, + }, consoleService, consoleObjPath, "xyz.openbmc_project.Console.Access", "Connect"); } @@ -299,7 +299,7 @@ inline void onOpen(crow::websocket::Connection& conn) [&conn, consolePath](const boost::system::error_code& ec, const ::dbus::utility::MapperGetObject& objInfo) { processConsoleObject(conn, consolePath, ec, objInfo); - }); + }); } inline void onMessage(crow::websocket::Connection& conn, |