refactor: run clang linter and formatter

This commit is contained in:
CJ van den Berg 2025-01-20 18:21:54 +01:00
parent 7668befc06
commit 2dd2b9e087
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
27 changed files with 189 additions and 157 deletions

View file

@ -91,7 +91,7 @@ struct hub_impl {
set<string> msgs;
for (const auto val : r)
msgs.insert(string(val));
subscribers_.emplace_back(move(from), [msgs](auto m) {
subscribers_.emplace_back(move(from), [msgs](const auto &m) {
string tag;
return m(extract(tag), more) && (msgs.find(tag) != msgs.end());
});