From 945fd5dd716263ceae6d88f9ea9ae48e11a21387 Mon Sep 17 00:00:00 2001 From: Ivan Santiago Paunovic Date: Thu, 20 Feb 2020 14:11:27 -0300 Subject: [PATCH] Change rmw_topic_endpoint_info_array.count to .size (#348) Signed-off-by: Ivan Santiago Paunovic --- rmw_fastrtps_shared_cpp/src/rmw_get_topic_endpoint_info.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rmw_fastrtps_shared_cpp/src/rmw_get_topic_endpoint_info.cpp b/rmw_fastrtps_shared_cpp/src/rmw_get_topic_endpoint_info.cpp index a44943dac..faec9b365 100644 --- a/rmw_fastrtps_shared_cpp/src/rmw_get_topic_endpoint_info.cpp +++ b/rmw_fastrtps_shared_cpp/src/rmw_get_topic_endpoint_info.cpp @@ -292,7 +292,6 @@ _get_info_by_topic( for (auto i = 0u; i < count; i++) { participants_info->info_array[i] = topic_endpoint_info_vector.at(i); } - participants_info->count = count; } return RMW_RET_OK; }