mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 10:41:01 +08:00
Fix ProtectedEventStream::process erase queue #46
This commit is contained in:
parent
4689564c4c
commit
e8724b6052
@ -42,6 +42,7 @@ public:
|
||||
std::move(_queue.begin(),
|
||||
std::next(_queue.begin(), countElements),
|
||||
std::back_inserter(processEvents));
|
||||
_queue.erase(_queue, std::next(_queue.begin(), countElements));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user