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: I152f141a5e8343b92b5ce81d3ca16eec77b5606b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/control/manager.cpp b/control/manager.cpp
index db8dbea..43e500e 100644
--- a/control/manager.cpp
+++ b/control/manager.cpp
@@ -97,8 +97,8 @@
if (std::all_of(conditions.begin(), conditions.end(),
[&bus](const auto& condition) {
- return checkCondition(bus, condition);
- }))
+ return checkCondition(bus, condition);
+ }))
{
// Create a Zone object for each zone in this group
auto& zones = std::get<zoneListPos>(group);