Skip to content

Commit

Permalink
drop obsolete use of boost's _1
Browse files Browse the repository at this point in the history
this relied on an implicit include of `boost/bind.hpp` from the ros_comm
headers and ROS-O changes this include due to countless downstream warnings.
ros-o/ros_comm#3
  • Loading branch information
v4hn committed Aug 6, 2024
1 parent 70c9269 commit fea2fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tams_pr2_gripper_action/src/pr2_gripper_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class Pr2GripperAction
Pr2GripperAction(ros::NodeHandle &n) :
node_(n),
action_server_(node_, "gripper_action",
boost::bind(&Pr2GripperAction::goalCB, this, _1),
boost::bind(&Pr2GripperAction::cancelCB, this, _1),
[this](auto handle){ goalCB(handle); },
[this](auto handle){ cancelCB(handle); },
false),
has_active_goal_(false)
{
Expand Down

0 comments on commit fea2fe7

Please sign in to comment.