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: I016cb74930cc475843c30bd604e739058effa504
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/trigger_manager.cpp b/src/trigger_manager.cpp
index 984b434..20dee51 100644
--- a/src/trigger_manager.cpp
+++ b/src/trigger_manager.cpp
@@ -21,9 +21,8 @@
{
loadFromPersistent();
- managerIface = objServer->add_unique_interface(triggerManagerPath,
- triggerManagerIfaceName,
- [this](auto& iface) {
+ managerIface = objServer->add_unique_interface(
+ triggerManagerPath, triggerManagerIfaceName, [this](auto& iface) {
iface.register_method(
"AddTrigger",
[this](boost::asio::yield_context& yield, const std::string& id,
@@ -46,7 +45,7 @@
return addTrigger(id, name, triggerActions, labeledSensorsInfo,
reportIds, labeledTriggerThresholdParams)
.getPath();
- });
+ });
});
}