Skip to content

Commit 4ae381f

Browse files
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Crash in callback group pointer vector iterator
1 parent c7d2785 commit 4ae381f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ MultiThreadedExecutor::MultiThreadedExecutor(
2828
const rclcpp::executor::ExecutorArgs & args,
2929
size_t number_of_threads,
3030
bool yield_before_execute,
31-
std::chrono::nanoseconds next_exec_timeout):
32-
executor::Executor(args),
33-
yield_before_execute_(yield_before_execute),
34-
next_exec_timeout_(next_exec_timeout)
31+
std::chrono::nanoseconds next_exec_timeout)
32+
: executor::Executor(args),
33+
yield_before_execute_(yield_before_execute),
34+
next_exec_timeout_(next_exec_timeout)
3535
{
3636
number_of_threads_ = number_of_threads ? number_of_threads : std::thread::hardware_concurrency();
3737
if (number_of_threads_ == 0) {

0 commit comments

Comments
 (0)