Skip to content

Commit

Permalink
Fix deprecated boost::placeholders usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 19, 2023
1 parent d7a406f commit 8f96022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mujoco_ros/src/callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void MujocoEnv::setupServices()
}));

action_step_ = std::make_unique<actionlib::SimpleActionServer<mujoco_ros_msgs::StepAction>>(
*nh_, "step", boost::bind(&MujocoEnv::onStepGoal, this, _1), false);
*nh_, "step", boost::bind(&MujocoEnv::onStepGoal, this, boost::placeholders::_1), false);
action_step_->start();
}

Expand Down
2 changes: 1 addition & 1 deletion mujoco_ros_control/src/mujoco_ros_control_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#include <pluginlib/class_list_macros.h>

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <urdf/model.h>
#include <chrono>
#include <thread>
Expand Down

0 comments on commit 8f96022

Please sign in to comment.