Skip to content

Commit

Permalink
Add missing virtual destructor for StatisticsAncillary (#4459)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz committed Mar 1, 2024
1 parent 6fbb614 commit a030de7
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 a030de7

Please sign in to comment.