Skip to content

Commit

Permalink
Fix boost::bind deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Aug 28, 2024
1 parent b1b96d2 commit 9472865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tactile_merger/src/merger_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <ros/ros.h>
#include <tactile_msgs/TactileContacts.h>
#include <tactile_msgs/TactileState.h>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

static bool HAVE_NEW_DATA = false;

Expand All @@ -54,7 +54,7 @@ int main(int argc, char *argv[])
ros::Publisher pub = nh.advertise<tactile_msgs::TactileContacts>("tactile_contact_states", 5);

const boost::function<void(const tactile_msgs::TactileStateConstPtr &)> callback =
boost::bind(message_handler, boost::ref(merger), _1);
boost::bind(message_handler, boost::ref(merger), boost::placeholders::_1);
ros::Subscriber sub = nh.subscribe("tactile_states", 1, callback);

ros::Time last_update;
Expand Down

0 comments on commit 9472865

Please sign in to comment.