Skip to content

Commit

Permalink
Add missing virtual destructor for StatisticsAncillary (#4460)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <[email protected]>
  • Loading branch information
EduPonz authored Mar 13, 2024
1 parent a9a5666 commit 1c890fe
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 1c890fe

Please sign in to comment.