mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 17:57:45 +08:00
Replace boost::bind by std::bind.
This commit is contained in:
@@ -77,8 +77,8 @@ void VoxelLayer::onInitialize()
|
||||
void VoxelLayer::setupDynamicReconfigure(ros::NodeHandle& nh)
|
||||
{
|
||||
voxel_dsrv_ = new dynamic_reconfigure::Server<VoxelPluginConfig>(nh);
|
||||
dynamic_reconfigure::Server<VoxelPluginConfig>::CallbackType cb = boost::bind(
|
||||
&VoxelLayer::reconfigureCB, this, _1, _2);
|
||||
dynamic_reconfigure::Server<VoxelPluginConfig>::CallbackType cb = std::bind(
|
||||
&VoxelLayer::reconfigureCB, this, std::placeholders::_1, std::placeholders::_2);
|
||||
voxel_dsrv_->setCallback(cb);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user