From 1872f04a452d651a2170fafad6d2b9db7082461e Mon Sep 17 00:00:00 2001 From: Eduardo Ponz Segrelles Date: Wed, 6 Mar 2024 10:52:08 +0100 Subject: [PATCH] Add missing virtual destructor for StatisticsAncillary (#4457) 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 f93f289f256..0c2187b79a1 100644 --- a/src/cpp/statistics/rtps/StatisticsBase.hpp +++ b/src/cpp/statistics/rtps/StatisticsBase.hpp @@ -53,6 +53,7 @@ namespace statistics { struct StatisticsAncillary { std::set> listeners; + virtual ~StatisticsAncillary() = default; }; struct StatisticsWriterAncillary