]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/collectionsource.h
Mark empty constructors and destructors as defaulted
[libs/datafile.git] / source / collectionsource.h
index e5647d8231449f2793703eaea083876fd8b0f705..eeff10acc12e3313e2080d9164963747d5bccf26 100644 (file)
@@ -21,9 +21,9 @@ public:
        typedef std::list<std::string> NameList;
 
 protected:
-       CollectionSource() { }
+       CollectionSource() = default;
 public:
-       virtual ~CollectionSource() { }
+       virtual ~CollectionSource() = default;
 
        /// Determines whether an object is available from this source.
        virtual bool is_loadable(const CollectionItemTypeBase &type, const std::string &name) const = 0;