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

fixup SFINAE detection of boilerplate API #6

Merged

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Apr 9, 2020

Fixup for #4 .

The previous version sadly defaulted to the second branch and simply spun until shutdown without calling run(). I only noticed this just now, sorry.

This bit of void_t based partial instantiation implements the proper check.
I learned quite a bit about SFINAE looking for short proper solutions to this.

@mlautman @JafarAbdi

The previous version sadly defaulted to the second branch
and simply spun until shutdown without calling run().

This bit of `void_t` based partial instantiation implements the proper check.
@v4hn
Copy link
Contributor Author

v4hn commented Apr 15, 2020

Ping @mlautman @JafarAbdi .
Your upstream branch is functionally broken without easy introspection of the cause at the moment.
This patch fixes behavior and your CI passes.

Copy link
Contributor

@JafarAbdi JafarAbdi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it and it works

@JafarAbdi JafarAbdi merged commit 8063002 into PickNikRobotics:melodic-devel Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants