mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 10:17:45 +08:00
use boost::placeholders::_N instead of deprecated _N, don't include depreacated boost/bind.hpp
This commit is contained in:
@@ -77,7 +77,7 @@ void VoxelLayer::setupDynamicReconfigure(ros::NodeHandle& nh)
|
||||
{
|
||||
voxel_dsrv_ = new dynamic_reconfigure::Server<costmap_2d::VoxelPluginConfig>(nh);
|
||||
dynamic_reconfigure::Server<costmap_2d::VoxelPluginConfig>::CallbackType cb = boost::bind(
|
||||
&VoxelLayer::reconfigureCB, this, _1, _2);
|
||||
&VoxelLayer::reconfigureCB, this, boost::placeholders::_1, boost::placeholders::_2);
|
||||
voxel_dsrv_->setCallback(cb);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user