From: Mikko Rasa Date: Wed, 7 Aug 2024 17:01:35 +0000 (+0300) Subject: Remove redundant template parameter from Collection::Loader::item X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=6cfbb20ce2ea710dfc38ac27662156cee51a6c6b;p=libs%2Fdatafile.git Remove redundant template parameter from Collection::Loader::item It's been unnecessary since a727216. --- diff --git a/source/collection.h b/source/collection.h index ae6ec30..e780603 100644 --- a/source/collection.h +++ b/source/collection.h @@ -70,7 +70,7 @@ public: Loader(Collection &); Collection &get_object() const { return coll; } private: - template + template void item(const std::string &n) { make_sub().into(coll, n).load(); } }; @@ -474,7 +474,7 @@ class LoadableCollectionItemType: public CollectionItemType { public: void add_to_loader(Collection::Loader &loader) const override - { loader.add(this->kwd, &Collection::Loader::item); } + { loader.add(this->kwd, &Collection::Loader::item); } void load_item(Collection &coll, Parser &parser, const std::string &name) const override {