mirror of https://github.com/procxx/kepka.git
Alpha 1.0.19: Add MSVC++ bug workaround.
This commit is contained in:
parent
6d216042e6
commit
ce8d68fc8c
|
@ -150,7 +150,8 @@ public:
|
||||||
}
|
}
|
||||||
void notify(const EventType &event, bool sync = false) {
|
void notify(const EventType &event, bool sync = false) {
|
||||||
if (this->_data) {
|
if (this->_data) {
|
||||||
this->_data->notify(EventType(event), sync);
|
auto event_copy = event;
|
||||||
|
this->_data->notify(std::move(event_copy), sync);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue