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

Melodic: Replace all boost::shared_ptr with respective typedefs #262

Merged
merged 1 commit into from
Apr 14, 2019

Conversation

simonschmeisser
Copy link
Contributor

@simonschmeisser simonschmeisser commented Apr 6, 2019

find ./ -type f -exec sed -i 's/boost::shared_ptr<urdf::Joint>/urdf::JointSharedPtr/g'  {} \;
find ./ -type f -exec sed -i 's/boost::shared_ptr<urdf::Link>/urdf::LinkConstSharedPtr/g'  {} \;

find ./ -type f -exec sed -i 's/boost::const_pointer_cast<urdf::Link>(robot_model.getLink(tip_frame_));/robot_model.getLink(tip_frame_);/g'  {} \;
find ./ -type f -exec sed -i 's/boost::const_pointer_cast<urdf::Link>(robot_model.getLink(getTipFrame()));/robot_model.getLink(getTipFrame());/g'  {} \;

This enables compilation on melodic

find ./ -type f -exec sed -i 's/boost::shared_ptr<urdf::Joint>/urdf::JointSharedPtr/g'  {} \;
find ./ -type f -exec sed -i 's/boost::shared_ptr<urdf::Link>/urdf::LinkConstSharedPtr/g'  {} \;

find ./ -type f -exec sed -i 's/boost::const_pointer_cast<urdf::Link>(robot_model.getLink(tip_frame_));/robot_model.getLink(tip_frame_);/g'  {} \;
find ./ -type f -exec sed -i 's/boost::const_pointer_cast<urdf::Link>(robot_model.getLink(getTipFrame()));/robot_model.getLink(getTipFrame());/g'  {} \;

This enables compilation on melodic
@gavanderhoorn
Copy link
Member

Thanks for the PR @simonschmeisser 👍

This enables compilation on melodic

and seems to be bw-compatible with Indigo as well according to Travis.

@gavanderhoorn gavanderhoorn merged commit 8332a6f into ros-industrial:indigo-devel Apr 14, 2019
gavanderhoorn referenced this pull request in Levi-Armstrong/fanuc Jun 25, 2019
gavanderhoorn added a commit to ros-industrial/fanuc_experimental that referenced this pull request Aug 27, 2019
gavanderhoorn added a commit to gavanderhoorn/fanuc that referenced this pull request Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants