From a1927ef4efcac5b95b7802f8f6c6993987502de1 Mon Sep 17 00:00:00 2001 From: Jeremie Deray <jeremie.deray@pal-robotics.com> Date: Fri, 11 Aug 2017 12:20:32 +0200 Subject: [PATCH] ProcessorParamsBase virtual destructor --- src/processor_base.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/processor_base.h b/src/processor_base.h index f909104cb..f87df2394 100644 --- a/src/processor_base.h +++ b/src/processor_base.h @@ -23,8 +23,11 @@ namespace wolf { */ struct ProcessorParamsBase { - std::string type; - std::string name; + ProcessorParamsBase() = default; + virtual ~ProcessorParamsBase() = default; + + std::string type; + std::string name; }; //class ProcessorBase -- GitLab