Skip to content

Commit

Permalink
Add missing virtual destructor for StatisticsAncillary (#4458)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz authored and cferreiragonz committed Mar 11, 2024
1 parent 660c47e commit ff129b9
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 @@ -56,6 +56,7 @@ struct StatisticsAncillary
{
std::set<std::shared_ptr<IListener>> listeners;
std::atomic<uint32_t> enabled_writers_mask{0};
virtual ~StatisticsAncillary() = default;
};

struct StatisticsWriterAncillary
Expand Down

0 comments on commit ff129b9

Please sign in to comment.