From ae5c70255ce06515224299985672c540d0b237a7 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 26 Sep 2012 23:26:54 +0300 Subject: [PATCH] Fix some minor mistakes --- source/collection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/collection.h b/source/collection.h index 66c50fe..b2c91d6 100644 --- a/source/collection.h +++ b/source/collection.h @@ -146,7 +146,7 @@ public: { typedef typename RemoveConst::Type NCT; - T *ptr = get_item(items, name).value >(); + T *ptr = get_item(items, name).value >().get(); if(!ptr) throw key_error(typeid(ItemMap)); return *ptr; @@ -159,7 +159,7 @@ public: private: template - void collect_items(std::list *objects, std::list *names, std::list *future_names) + void collect_items(std::list *objects, std::list *names, std::list *future_names) const { typedef RefPtr::Type> RPNCT; -- 2.43.0