From a8073437e3bd82198da09f35ffc005cd98b88201 Mon Sep 17 00:00:00 2001 From: Yadu Date: Wed, 7 Feb 2024 11:36:44 +0800 Subject: [PATCH] Update rmw_zenoh_cpp/src/rmw_zenoh.cpp Co-authored-by: Chris Lalancette Signed-off-by: Yadu --- rmw_zenoh_cpp/src/rmw_zenoh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/rmw_zenoh.cpp b/rmw_zenoh_cpp/src/rmw_zenoh.cpp index 0f92a083..8ec455d5 100644 --- a/rmw_zenoh_cpp/src/rmw_zenoh.cpp +++ b/rmw_zenoh_cpp/src/rmw_zenoh.cpp @@ -1288,7 +1288,7 @@ rmw_create_subscription( RMW_SET_ERROR_MSG("Failed to obtain adapted_qos_profile."); return nullptr; } - // If a depth of 0 was provided, the RMW implementation can set the depth to a default. + // If a depth of 0 was provided, the RMW implementation should choose a suitable default. sub_data->adapted_qos_profile.depth = sub_data->adapted_qos_profile.depth > 0 ? sub_data->adapted_qos_profile.depth :