]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/collection.h
Use default member initializers for constant initial values
[libs/datafile.git] / source / collection.h
index db4e50a0c44211e58ff238af429102faf5185376..98a08b6757a2c3eeed121c4c262e79248d57af02 100644 (file)
@@ -89,10 +89,9 @@ private:
        std::vector<CollectionItemTypeBase *> types;
        ItemMap items;
        std::vector<const CollectionSource *> sources;
-       Collection *fallback;
+       Collection *fallback = nullptr;
 
 public:
-       Collection();
        virtual ~Collection();
 
        /** Adds an object into the collection.  The name must not pre-exist.  The