-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use different events in the same listener #19
Comments
Hello, nice to hear that. It is odd I just tested this case and it works fine. Maybe you have other test that is running same time ? |
So after checking it on windows online compiler You are right there is problem :/ first of all you need enable RTTI because assert can fail.
Other issue is that
This is because VS do some optimization trick. So I will fix that asap ;) |
Issue: #19 Visual Studio optimize not so portable version of type_id<T>() so each time we get same id for different types. Added small test to check this behavior in future.
Fixed in commit: 34902c4 Thanks! |
Yes, it is working fine in my project now. thanks! :) |
Describe the bug
hi,I use the lib in my project... but i can't to use different events in the same listener.
To Reproduce
Expected behavior
it will enter onEvent1() and onEvent2()...but I need it only enters onEvent1().
Build:
The text was updated successfully, but these errors were encountered: