X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0cdbf9ea69482a979e0fde15e75fef3597ab8b07..164f26e363e3e855d74b681b208847807d3bbcd8:/named_object_list.h?ds=sidebyside 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; };