1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-25 23:30:49 +08:00

Update readme.md

Add missing header for EventQueue example in README.md
This commit is contained in:
Ke Li 2024-02-20 08:15:24 +00:00 committed by GitHub
parent 9b2ceee0ee
commit 92210f49ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,6 +127,7 @@ dispatcher.dispatch(5);
### Using EventQueue
```c++
#include "eventpp/eventqueue.h"
eventpp::EventQueue<int, void (const std::string &, const bool)> queue;
queue.appendListener(3, [](const std::string s, bool b) {