Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cores/esp8266/CallBackList.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CallBackList
}

template<typename... Args>
void execute(Args... params) {
int execute(Args... params) {
for(auto it = std::begin(callBackEventList); it != std::end(callBackEventList); ) {
CallBackHandler &handler = *it;
if (handler->allowRemove() && handler.unique()) {
Expand All @@ -75,6 +75,7 @@ class CallBackList
++it;
}
}
return callBackEventList.size();
}
};

Expand Down