Replace boost::bind by std::bind.

This commit is contained in:
Windel Bouwman
2021-09-21 19:19:19 +02:00
parent a67df77778
commit fdf44ed288
9 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -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);
}