]> git.tdb.fi Git - libs/datafile.git/commitdiff
Add a virtual destructor to CollectionSource
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Jan 2013 14:05:38 +0000 (16:05 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Jan 2013 14:05:38 +0000 (16:05 +0200)
source/collectionsource.h

index 398f7942c85c6260d514796beac77146b5cc7d32..90c36f2fce009768874c42b56c21fbf29d11457d 100644 (file)
@@ -22,8 +22,9 @@ public:
 
 protected:
        CollectionSource() { }
-
 public:
+       virtual ~CollectionSource() { }
+
        /** Determines */
        virtual bool is_loadable(const CollectionItemTypeBase &type, const std::string &name) const = 0;