X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fcollection.h;h=98a08b6757a2c3eeed121c4c262e79248d57af02;hp=db4e50a0c44211e58ff238af429102faf5185376;hb=e14c01b5775dd2e324b16ff49498db9b9113c523;hpb=a2cce9e933089f483163456e9872e005c33dd678 diff --git a/source/collection.h b/source/collection.h index db4e50a..98a08b6 100644 --- a/source/collection.h +++ b/source/collection.h @@ -89,10 +89,9 @@ private: std::vector types; ItemMap items; std::vector sources; - Collection *fallback; + Collection *fallback = nullptr; public: - Collection(); virtual ~Collection(); /** Adds an object into the collection. The name must not pre-exist. The