From 9bcc8c011444d5abdd5494998171e74f46d62be6 Mon Sep 17 00:00:00 2001 From: cferreiragonz Date: Thu, 13 Jun 2024 17:08:19 +0200 Subject: [PATCH] Refs #21077: Update new examples Signed-off-by: cferreiragonz --- examples/cpp/configuration/SubscriberApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp/configuration/SubscriberApp.cpp b/examples/cpp/configuration/SubscriberApp.cpp index 63c2dddbc4a..555f2b062cc 100644 --- a/examples/cpp/configuration/SubscriberApp.cpp +++ b/examples/cpp/configuration/SubscriberApp.cpp @@ -126,7 +126,7 @@ SubscriberApp::SubscriberApp( reader_qos.resource_limits().max_samples_per_instance = config.max_samples_per_instance; reader_qos.ownership().kind = config.ownership; reader_qos.deadline().period = eprosima::fastrtps::Duration_t(config.deadline * 1e-3); - reader_qos.reliable_reader_qos().disable_positive_ACKs.enabled = config.disable_positive_ack; + reader_qos.reliable_reader_qos().disable_positive_acks.enabled = config.disable_positive_ack; reader_qos.lifespan().duration = eprosima::fastrtps::Duration_t(config.lifespan * 1e-3); reader_qos.liveliness().kind = config.liveliness; reader_qos.liveliness().lease_duration = eprosima::fastrtps::Duration_t(