diff --git a/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.hpp b/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.hpp index aaf5b0b63..bb9d8ce83 100644 --- a/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.hpp +++ b/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.hpp @@ -242,6 +242,8 @@ class DiagnosticTaskVector const std::vector & getTasks() {return tasks_;} public: + virtual ~DiagnosticTaskVector() {} + /** * \brief Add a DiagnosticTask embodied by a name and function to the * DiagnosticTaskVector