]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/collection.h
Mark empty constructors and destructors as defaulted
[libs/datafile.git] / source / collection.h
index 4a2f736de49cdabc4df1c9da4ce4ee96cda4753e..db4e50a0c44211e58ff238af429102faf5185376 100644 (file)
@@ -335,7 +335,7 @@ class CollectionItemTypeBase
 protected:
        struct ExtractorBase
        {
-               virtual ~ExtractorBase() { }
+               virtual ~ExtractorBase() = default;
        };
 
        template<typename T>
@@ -348,7 +348,7 @@ protected:
        std::vector<std::string> suffixes;
        std::vector<ExtractorBase *> extractors;
 
-       CollectionItemTypeBase() { }
+       CollectionItemTypeBase() = default;
 public:
        virtual ~CollectionItemTypeBase();