From 9ae76cac4d822f7bda0362eae635203fa9cb41bd Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Thu, 31 May 2018 14:18:06 -0700 Subject: [PATCH] Initial values to node constructor --- test_rclcpp/test/test_multithreaded.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_rclcpp/test/test_multithreaded.cpp b/test_rclcpp/test/test_multithreaded.cpp index d1063ab5..c28e6af6 100644 --- a/test_rclcpp/test/test_multithreaded.cpp +++ b/test_rclcpp/test/test_multithreaded.cpp @@ -258,9 +258,10 @@ static inline void multi_access_publisher(bool intra_process) } const std::vector arguments = {}; + const std::vector initial_values = {}; const bool use_global_arguments = true; auto node = rclcpp::Node::make_shared( - node_topic_name, "", context, arguments, use_global_arguments, intra_process); + node_topic_name, "", context, arguments, initial_values, use_global_arguments, intra_process); auto timer_callback_group = node->create_callback_group( rclcpp::callback_group::CallbackGroupType::Reentrant); auto sub_callback_group = node->create_callback_group(