From e3ace82f144a30ed5454dfb46fb117ade9b143e1 Mon Sep 17 00:00:00 2001 From: Karsten Knese Date: Mon, 26 Aug 2019 18:59:37 -0700 Subject: [PATCH] add virtual destructor to task vector --- .../include/diagnostic_updater/diagnostic_updater.hpp | 2 ++ 1 file changed, 2 insertions(+) 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