Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kr0ner committed Nov 21, 2024
1 parent 88c359a commit bd94064
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/callback_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ class CallbackHandler {
} else {
// merge with existing callback
auto existingCallback = getCallback(key);
callbacks.insert_or_assign(
std::move(key), [existingCallback = std::move(existingCallback),
newCallback = std::move(callback)](const SimpleVariant& value) {
existingCallback(value);
newCallback(value);
});
callbacks.insert_or_assign(std::move(key), [existingCallback = std::move(existingCallback),
newCallback = std::move(callback)](const SimpleVariant& value) {
existingCallback(value);
newCallback(value);
});
}
}

Expand Down

0 comments on commit bd94064

Please sign in to comment.