clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I8d0072c279e4de87dc001190845d0ca6da233345
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/message_handler.hpp b/message_handler.hpp
index f0d4848..c1a7032 100644
--- a/message_handler.hpp
+++ b/message_handler.hpp
@@ -21,8 +21,7 @@
Handler(std::shared_ptr<udpsocket::Channel> channel,
std::shared_ptr<boost::asio::io_context> io,
uint32_t sessionID = message::Message::MESSAGE_INVALID_SESSION_ID) :
- sessionID(sessionID),
- channel(channel), io(io)
+ sessionID(sessionID), channel(channel), io(io)
{
if (sessionID != message::Message::MESSAGE_INVALID_SESSION_ID)
{
@@ -35,8 +34,7 @@
*/
Handler(std::shared_ptr<udpsocket::Channel> channel,
uint32_t sessionID = message::Message::MESSAGE_INVALID_SESSION_ID) :
- sessionID(sessionID),
- channel(channel), io(nullptr)
+ sessionID(sessionID), channel(channel), io(nullptr)
{
if (sessionID != message::Message::MESSAGE_INVALID_SESSION_ID)
{