typo
This commit is contained in:
parent
b9b26f1cd4
commit
6974862125
1 changed files with 4 additions and 4 deletions
|
|
@ -159,7 +159,7 @@ namespace Crafter {
|
|||
// Clear previous timing data
|
||||
this->listenerTimes.clear();
|
||||
|
||||
auto listenersCopy = listenerSlice.second;
|
||||
auto listenersCopy = this->listeners;
|
||||
for (const auto& listenerSlice : listenersCopy) {
|
||||
for (const auto& listener : listenerSlice.second) {
|
||||
auto start = std::chrono::high_resolution_clock::now();
|
||||
|
|
@ -170,7 +170,7 @@ namespace Crafter {
|
|||
}
|
||||
}
|
||||
#else
|
||||
auto listenersCopy = listenerSlice.second;
|
||||
auto listenersCopy = this->listeners;
|
||||
for (const auto& listenerSlice : listenersCopy) {
|
||||
for (const auto& listener : listenerSlice.second) {
|
||||
listener->function();
|
||||
|
|
@ -191,7 +191,7 @@ namespace Crafter {
|
|||
// Clear previous timing data
|
||||
this->listenerTimes.clear();
|
||||
|
||||
auto listenersCopy = listenerSlice.second;
|
||||
auto listenersCopy = this->listeners;
|
||||
for (const auto& listenerSlice : listenersCopy) {
|
||||
for (const auto& listener : listenerSlice.second) {
|
||||
auto start = std::chrono::high_resolution_clock::now();
|
||||
|
|
@ -202,7 +202,7 @@ namespace Crafter {
|
|||
}
|
||||
}
|
||||
#else
|
||||
auto listenersCopy = listenerSlice.second;
|
||||
auto listenersCopy = this->listeners;
|
||||
for (const auto& listenerSlice : listenersCopy) {
|
||||
for (const auto& listener : listenerSlice.second) {
|
||||
listener->function(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue