ros / ros_tutorials

Code used in tutorials found on ROS wiki
http://wiki.ros.org/ros_tutorials
787 stars 537 forks source link

use boost::placeholders::_1 instead of deprecated _1 #142

Closed lucasw closed 2 years ago

lucasw commented 2 years ago

Also boost/bind/bind.hpp instead of deprecated boost/bind.hpp

methylDragon commented 2 years ago

LGTM

https://www.boost.org/doc/libs/1_79_0/boost/bind/placeholders.hpp

Also, boost/bind.hpp still includes boost/bind/bind.hpp anyway, it's technically unnecessary, but a more narrow/specific include is good to use anyway.