bla
This commit is contained in:
@@ -65,7 +65,7 @@ void EventNotifier::notify()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getting a guard and calling all registered handlers
|
// getting a guard and calling all registered handlers
|
||||||
std::lock_guard event_handler_guard<std::mutex>(this->event_handler_mutex);
|
std::lock_guard<std::mutex> event_handler_guard(this->event_handler_mutex);
|
||||||
for(auto handler : this->event_handlers)
|
for(auto handler : this->event_handlers)
|
||||||
{
|
{
|
||||||
boost::thread handler_caller(boost::bind(&IEventHandler::handle, handler, event));
|
boost::thread handler_caller(boost::bind(&IEventHandler::handle, handler, event));
|
||||||
|
|||||||
Reference in New Issue
Block a user