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

Comments

Projects
None yet
1 participant
@saschazelzer
Member

saschazelzer commented Jan 10, 2014

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

This comment has been minimized.

Show comment
Hide comment
@saschazelzer

saschazelzer Jan 11, 2014

Member

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.

Member

saschazelzer commented Jan 11, 2014

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