Skip to content

Commit

Permalink
Refs #21077: Update new examples
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
  • Loading branch information
cferreiragonz committed Jun 14, 2024
1 parent e46d809 commit c826bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/configuration/SubscriberApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c826bed

Please sign in to comment.