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
protected:
struct ExtractorBase
{
- virtual ~ExtractorBase() { }
+ virtual ~ExtractorBase() = default;
};
template<typename T>
std::vector<std::string> suffixes;
std::vector<ExtractorBase *> extractors;
- CollectionItemTypeBase() { }
+ CollectionItemTypeBase() = default;
public:
virtual ~CollectionItemTypeBase();