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: I1ac255c58971ac5cc4697b8bb1069067aad02d18
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tests/src/test_report_manager.cpp b/tests/src/test_report_manager.cpp
index 51140b7..fc394ae 100644
--- a/tests/src/test_report_manager.cpp
+++ b/tests/src/test_report_manager.cpp
@@ -67,7 +67,7 @@
DbusEnvironment::getBus()->async_method_call(
[&addReportPromise](boost::system::error_code ec,
const std::string& path) {
- addReportPromise.set_value({ec, path});
+ addReportPromise.set_value({ec, path});
},
DbusEnvironment::serviceName(), ReportManager::reportManagerPath,
ReportManager::reportManagerIfaceName, "AddReportFutureVersion",
@@ -88,11 +88,11 @@
utils::enumToString(params.reportUpdates()));
properties.emplace_back("AppendLimit", params.appendLimit());
properties.emplace_back("Enabled", params.enabled());
- properties.emplace_back(
- "ReportActions",
- utils::transform(params.reportActions(), [](const auto v) {
- return utils::enumToString(v);
- }));
+ properties.emplace_back("ReportActions",
+ utils::transform(params.reportActions(),
+ [](const auto v) {
+ return utils::enumToString(v);
+ }));
properties.emplace_back("Interval", params.interval().count());
properties.emplace_back("ReadingParameters",
toReadingParameters(params.metricParameters()));