From 6cfbb20ce2ea710dfc38ac27662156cee51a6c6b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 7 Aug 2024 20:01:35 +0300 Subject: [PATCH] Remove redundant template parameter from Collection::Loader::item It's been unnecessary since a727216. --- source/collection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.45.2