Skip to content

Commit

Permalink
Add missing reference to the readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
eXpl0it3r committed Feb 16, 2024
1 parent 322778c commit faa3f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int main()
const auto message = DummyMessage{ .important_value = 100 };

bus.subscribe<DummyMessage>(
[](const DummyMessage message)
[](const DummyMessage& message)
{
std::cout << "Important value: " << message.important_value << "\n";
}
Expand Down

0 comments on commit faa3f4e

Please sign in to comment.