From 1248647a3069edcdb217ad56979ad62b9a4efb19 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Fri, 18 Feb 2022 12:00:43 +0100 Subject: [PATCH] Initialize added atomic_bool fields. Signed-off-by: Miguel Company --- .../include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp | 1 + .../include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp index 3a8cf9598..8f5676ad0 100644 --- a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp +++ b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp @@ -61,6 +61,7 @@ class PubListener : public EventListenerInterface, public eprosima::fastdds::dds explicit PubListener(CustomPublisherInfo * info) : deadline_changes_(false), liveliness_changes_(false), + incompatible_qos_changes_(false), conditionMutex_(nullptr), conditionVariable_(nullptr) { diff --git a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp index bf79741f5..eddc7bac2 100644 --- a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp +++ b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp @@ -70,6 +70,8 @@ class SubListener : public EventListenerInterface, public eprosima::fastdds::dds : data_(false), deadline_changes_(false), liveliness_changes_(false), + sample_lost_changes_(false), + incompatible_qos_changes_(false), conditionMutex_(nullptr), conditionVariable_(nullptr) {