From: Mikko Rasa Date: Wed, 16 Jan 2013 14:05:38 +0000 (+0200) Subject: Add a virtual destructor to CollectionSource X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e3cfc75aa5be3238776caec7f1a437ece7aefa51;p=libs%2Fdatafile.git Add a virtual destructor to CollectionSource --- 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;