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

[ros-o] use std::make_shared instead of boost::make_shared #98

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

k-okada
Copy link

@k-okada k-okada commented Jan 7, 2025

fixes

[ar_track_alvar:make] /home/runner/jsk_roseus_ws/src/ar_track_alvar/ar_track_alvar/src/kinect_filtering.cpp: In function ‘a
r_track_alvar::PlaneFitResult ar_track_alvar::fitPlane(pcl::PointCloud<pcl::PointXYZRGB>::ConstPtr)’:                      
[ar_track_alvar:make] /home/runner/jsk_roseus_ws/src/ar_track_alvar/ar_track_alvar/src/kinect_filtering.cpp:54:73: error: c
onversion from ‘boost::detail::sp_if_not_array<pcl::PointIndices>::type’ {aka ‘boost::shared_ptr<pcl::PointIndices>’} to no
n-scalar type ‘pcl::PointIndices::Ptr’ {aka ‘std::shared_ptr<pcl::PointIndices>’} requested                                
[ar_track_alvar:make]    54 |   pcl::PointIndices::Ptr inliers = boost::make_shared<pcl::PointIndices>();                  
[ar_track_alvar:make]       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~                   
[ar_track_alvar:make] make[2]: *** [CMakeFiles/kinect_filtering.dir/build.make:76: CMakeFiles/kinect_filtering.dir/src/kine
ct_filtering.cpp.o] Error 1                                                                                                
[ar_track_alvar:make] make[2]: Leaving directory '/home/runner/jsk_roseus_ws/

@k-okada k-okada changed the title use std::make_shared instead of boost::make_shared [ros-o] use std::make_shared instead of boost::make_shared Jan 7, 2025
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.

1 participant