Skip to content
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

Comparison of service listener objects is buggy on VS 2008 #9

Closed
saschazelzer opened this issue Jan 10, 2014 · 1 comment
Closed

Comparison of service listener objects is buggy on VS 2008 #9

saschazelzer opened this issue Jan 10, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@saschazelzer
Copy link
Member

For Visual Studio 2008, a custom functor implementation is used for service listener objects (instead of std::(tr1)::function). The target() method returns different values for different service listener objects pointing to the same member function, which leads to mismatches when removing a previously registered member function from the listener registry.

@ghost ghost assigned saschazelzer Jan 10, 2014
@saschazelzer
Copy link
Member Author

In issue #7 the custom functor implementation was removed and std::function is used on all platforms. This also replaced the buggy target() method with the C++11 std::function equivalent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant