Moved more files around, working on VN engine
This commit is contained in:
@ -39,8 +39,9 @@ namespace Dawn {
|
||||
* @param args Arguments for this event to pass to the listeners.
|
||||
*/
|
||||
void invoke(A... args) {
|
||||
auto it = this->_eventListeners.begin();
|
||||
while(it != this->_eventListeners.end()) {
|
||||
auto copy = this->_eventListeners;
|
||||
auto it = copy.begin();
|
||||
while(it != copy.end()) {
|
||||
it->listener(args...);
|
||||
++it;
|
||||
}
|
||||
|
Reference in New Issue
Block a user