Skip to content

Commit

Permalink
Explicitly declare boost::placeholders usage
Browse files Browse the repository at this point in the history
Boost 1.73 depreacated the implicit use of boost::placeholders.
  • Loading branch information
rhaschke committed Jun 20, 2024
1 parent dea9b98 commit f167306
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <pluginlib/class_list_macros.h>
#include <ros/ros.h>

using namespace boost::placeholders;

#include <franka_example_controllers/pseudo_inversion.h>

namespace franka_example_controllers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <tf/transform_listener.h>
#include <tf_conversions/tf_eigen.h>

using namespace boost::placeholders;

namespace franka_example_controllers {

bool DualArmCartesianImpedanceExampleController::initArm(
Expand Down
2 changes: 2 additions & 0 deletions franka_example_controllers/src/force_example_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#include <franka/robot_state.h>

using namespace boost::placeholders;

namespace franka_example_controllers {

bool ForceExampleController::init(hardware_interface::RobotHW* robot_hw,
Expand Down
2 changes: 2 additions & 0 deletions franka_example_controllers/src/teleop_gripper_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <memory>
#include <mutex>

using namespace boost::placeholders;

using franka_gripper::GraspAction;
using franka_gripper::HomingAction;
using franka_gripper::MoveAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <vector>

using Vector7d = Eigen::Matrix<double, 7, 1>;
using namespace boost::placeholders;

const std::string kControllerName = "TeleopJointPDExampleController";

Expand Down
2 changes: 2 additions & 0 deletions franka_gazebo/src/franka_gripper_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <franka_gazebo/franka_gripper_sim.h>
#include <pluginlib/class_list_macros.h>

using namespace boost::placeholders;

namespace franka_gazebo {

using actionlib::SimpleActionServer;
Expand Down

0 comments on commit f167306

Please sign in to comment.