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: I5278656122f19da46fcd0a84bc96af420d4cb8bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sessions_manager.cpp b/sessions_manager.cpp
index e878de1..9aa452c 100644
--- a/sessions_manager.cpp
+++ b/sessions_manager.cpp
@@ -210,8 +210,8 @@
[sessionID](
const std::pair<const uint32_t, std::shared_ptr<Session>>&
in) -> bool {
- return sessionID == in.second->getRCSessionID();
- });
+ return sessionID == in.second->getRCSessionID();
+ });
if (iter != sessionsMap.end())
{
@@ -327,9 +327,9 @@
sessionsMap.begin(), sessionsMap.end(),
[](const std::pair<const uint32_t, std::shared_ptr<Session>>& in)
-> bool {
- return in.second->state() ==
- static_cast<uint8_t>(session::State::active);
- }));
+ return in.second->state() ==
+ static_cast<uint8_t>(session::State::active);
+ }));
}
void Manager::scheduleSessionCleaner(const std::chrono::microseconds& when)