Alpha 1.0.19: Add MSVC++ bug workaround.

This commit is contained in:
John Preston 2017-03-08 13:46:04 +03:00
parent 6d216042e6
commit ce8d68fc8c
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ public:
}
void notify(const EventType &event, bool sync = false) {
if (this->_data) {
this->_data->notify(EventType(event), sync);
auto event_copy = event;
this->_data->notify(std::move(event_copy), sync);
}
}