From 7450bb26cfbf8e811c9404d5e535dfd5f51402ae Mon Sep 17 00:00:00 2001 From: yuanyuyuan Date: Wed, 20 Nov 2024 17:47:10 +0800 Subject: [PATCH] refactor: remove the warning of subscriber reliability QoS --- rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp index 4be0ab30..614288f6 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp @@ -195,12 +195,6 @@ SubscriptionData::SubscriptionData( // enable_shared_from_this, which is not available in constructors. bool SubscriptionData::init() { - if (entity_->topic_info()->qos_.reliability == RMW_QOS_POLICY_RELIABILITY_RELIABLE) { - RMW_ZENOH_LOG_WARN_NAMED( - "rmw_zenoh_cpp", - "`reliability` no longer supported on subscriber. Ignoring..."); - } - // TODO(Yadunund): Instead of passing a rawptr, rely on capturing weak_ptr // in the closure callback once we switch to zenoh-cpp. z_owned_closure_sample_t callback;