diff --git a/mujoco_ros_laser/src/laser.cpp b/mujoco_ros_laser/src/laser.cpp index b90a939..5c39729 100644 --- a/mujoco_ros_laser/src/laser.cpp +++ b/mujoco_ros_laser/src/laser.cpp @@ -345,7 +345,8 @@ void LaserPlugin::computeLasersMultithreaded(const mjModel *model, mjData *data) tasks[i].func = processRayThreaded; tasks[i].args = &ray_args[i]; - mju_threadPoolEnqueue(reinterpret_cast(data->threadpool), &tasks[i]); + mju_threadPoolEnqueue(reinterpret_cast(data->threadpool), + &tasks[i]); // NOLINT(performance-no-int-to-ptr) } for (uint i = 0; i < laser_config.nrays; ++i) {