Skip to content

Commit

Permalink
refactor: remove the warning of subscriber reliability QoS
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Nov 20, 2024
1 parent 9f78ca4 commit 7450bb2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<SubscriptionData>
// in the closure callback once we switch to zenoh-cpp.
z_owned_closure_sample_t callback;
Expand Down

0 comments on commit 7450bb2

Please sign in to comment.