From e3cfc75aa5be3238776caec7f1a437ece7aefa51 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 16 Jan 2013 16:05:38 +0200 Subject: [PATCH] Add a virtual destructor to CollectionSource --- source/collectionsource.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/collectionsource.h b/source/collectionsource.h index 398f794..90c36f2 100644 --- a/source/collectionsource.h +++ b/source/collectionsource.h @@ -22,8 +22,9 @@ public: protected: CollectionSource() { } - public: + virtual ~CollectionSource() { } + /** Determines */ virtual bool is_loadable(const CollectionItemTypeBase &type, const std::string &name) const = 0; -- 2.43.0