From 4272607e227671f5fbd9d52d7a5735e664ec4ab4 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Tue, 27 Feb 2024 08:25:18 +0100 Subject: [PATCH] Refs #20511: Add missing virtual destructor for StatisticsAncillary Signed-off-by: EduPonz --- src/cpp/statistics/rtps/StatisticsBase.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpp/statistics/rtps/StatisticsBase.hpp b/src/cpp/statistics/rtps/StatisticsBase.hpp index 059d8e45af0..f0159b673e9 100644 --- a/src/cpp/statistics/rtps/StatisticsBase.hpp +++ b/src/cpp/statistics/rtps/StatisticsBase.hpp @@ -56,6 +56,7 @@ struct StatisticsAncillary { std::set> listeners; std::atomic enabled_writers_mask{0}; + virtual ~StatisticsAncillary() = default; }; struct StatisticsWriterAncillary