Skip to content

Commit

Permalink
Add missing virtual destructor for StatisticsAncillary (#4457)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz authored Mar 6, 2024
1 parent 14c5289 commit 1872f04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/statistics/rtps/StatisticsBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ namespace statistics {
struct StatisticsAncillary
{
std::set<std::shared_ptr<IListener>> listeners;
virtual ~StatisticsAncillary() = default;
};

struct StatisticsWriterAncillary
Expand Down

0 comments on commit 1872f04

Please sign in to comment.