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: I1d7d35c8035993df4c164bfb055d3be476d3ea84
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/async/match.cpp b/src/async/match.cpp
index 7dceba4..9ac3cd0 100644
--- a/src/async/match.cpp
+++ b/src/async/match.cpp
@@ -6,8 +6,8 @@
slot_t match::makeMatch(context& ctx, const std::string_view& pattern)
{
// C-style callback to redirect into this::handle_match.
- static auto match_cb =
- [](message::msgp_t msg, void* ctx, sd_bus_error*) noexcept {
+ static auto match_cb = [](message::msgp_t msg, void* ctx,
+ sd_bus_error*) noexcept {
static_cast<match*>(ctx)->handle_match(message_t{msg});
return 0;
};