fix
This commit is contained in:
parent
3d11c7c3ae
commit
3be8df9e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ namespace Crafter {
|
|||
}
|
||||
#else
|
||||
this->listeners.erase(std::remove(this->listeners.begin(), this->listeners.end(), nullptr), this->listeners.end());
|
||||
for (const auto& listenerSlice : listenersCopy) {
|
||||
for (const auto& listenerSlice : this->listeners) {
|
||||
for (const auto& listener : listenerSlice.second) {
|
||||
listener->function(data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue