From c992fa11f059cc78a9ecbd3759778fc20b2a413f Mon Sep 17 00:00:00 2001 From: h-suzuki Date: Thu, 14 Mar 2024 09:30:41 +0000 Subject: [PATCH] Fix: TRACETOOLS_TRACEPOINT args Signed-off-by: h-suzuki --- rmw_connextdds_common/src/common/rmw_subscription.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmw_connextdds_common/src/common/rmw_subscription.cpp b/rmw_connextdds_common/src/common/rmw_subscription.cpp index eb5abdad..e611ad2d 100644 --- a/rmw_connextdds_common/src/common/rmw_subscription.cpp +++ b/rmw_connextdds_common/src/common/rmw_subscription.cpp @@ -390,7 +390,7 @@ rmw_api_connextdds_take_serialized_message( rmw_take, subscription, serialized_message, - (message_info ? message_info->source_timestamp : 0LL), + 0LL, *taken); return sub_impl->take_serialized(serialized_message, nullptr, taken); @@ -424,7 +424,7 @@ rmw_api_connextdds_take_serialized_message_with_info( rmw_take, subscription, serialized_message, - (message_info ? message_info->source_timestamp : 0LL), + message_info->source_timestamp, *taken); return sub_impl->take_serialized(serialized_message, message_info, taken);