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

Fix C++11 compatibility issue in topic.h #484

Merged
merged 1 commit into from
Aug 4, 2014
Merged

Fix C++11 compatibility issue in topic.h #484

merged 1 commit into from
Aug 4, 2014

Conversation

taketwo
Copy link
Contributor

@taketwo taketwo commented Aug 4, 2014

Resolves #483.

In C++11, shared_ptr has an explicit operator bool which means that a shared_ptr can't be implicitly converted to a bool. Therefore an explicit cast is needed.
@ros-pull-request-builder
Copy link
Member

Can one of the admins verify this patch?

@dirk-thomas
Copy link
Member

@ros-pull-request-builder
Copy link
Member

Test passed.
Refer to this link for build results: http://jenkins.ros.org/job/_pull_request-indigo-ros_comm/117/

dirk-thomas added a commit that referenced this pull request Aug 4, 2014
Fix C++11 compatibility issue in topic.h
@dirk-thomas dirk-thomas merged commit effcbe4 into ros:indigo-devel Aug 4, 2014
@taketwo taketwo deleted the patch-1 branch August 4, 2014 18:00
rsinnet pushed a commit to MisoRobotics/ros_comm that referenced this pull request Jun 19, 2017
Fix C++11 compatibility issue in topic.h
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.

3 participants