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: I3e9e6350864ac267819a4b8d670bef7d3746976e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/control/actions.hpp b/control/actions.hpp
index 968c1b2..fd7c8a6 100644
--- a/control/actions.hpp
+++ b/control/actions.hpp
@@ -150,7 +150,7 @@
count++;
return sum;
}
- });
+ });
if ((group.size() - count) > 0)
{
auto groupSize = static_cast<int64_t>(group.size());
@@ -208,7 +208,7 @@
count++;
return sum;
}
- });
+ });
if ((group.size() - count) > 0)
{
auto groupSize = static_cast<int64_t>(group.size());
@@ -617,18 +617,16 @@
if (useEvents)
{
// Init events
- std::for_each(events.begin(), events.end(),
- [&zone](auto const& entry) {
- zone.initEvent(entry);
- });
+ std::for_each(
+ events.begin(), events.end(),
+ [&zone](auto const& entry) { zone.initEvent(entry); });
}
else
{
// Remove events
- std::for_each(events.begin(), events.end(),
- [&zone](auto const& entry) {
- zone.removeEvent(entry);
- });
+ std::for_each(
+ events.begin(), events.end(),
+ [&zone](auto const& entry) { zone.removeEvent(entry); });
}
};
}