X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0cdbf9ea69482a979e0fde15e75fef3597ab8b07..01d46f8470e36e1823d897496e0d915770bc867b:/named_object_list.h diff --git a/named_object_list.h b/named_object_list.h index 94d281e..2c691fa 100644 --- a/named_object_list.h +++ b/named_object_list.h @@ -24,6 +24,7 @@ protected: std::string description; creator_base(const std::string& descr): description(descr) { } creator_base(const char* descr): description(descr) { } + virtual ~creator_base() { } virtual Base* operator()() const = 0; }; @@ -87,6 +88,7 @@ protected: std::string description; creator_base(const std::string& descr): description(descr) { } creator_base(const char* descr): description(descr) { } + virtual ~creator_base() { } virtual Base* operator()(Arg1, Arg2) const = 0; };