From 61f6f66a7db1a074143cd0e9948a262d30876dea Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 17 Apr 2012 12:00:03 +0300 Subject: [PATCH] Style fixes --- source/collection.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/collection.h b/source/collection.h index 91f8f07..b223990 100644 --- a/source/collection.h +++ b/source/collection.h @@ -58,7 +58,7 @@ public: template void coll_item(const std::string &n) { - RefPtr it=new T; + RefPtr it = new T; load_sub(*it, dynamic_cast(coll)); coll.add(n, it.get()); it.release(); @@ -67,13 +67,11 @@ public: template void item(const std::string &n) { - RefPtr it=new T; + RefPtr it = new T; load_sub(*it); coll.add(n, it.get()); it.release(); } - - template friend class ItemKeyword; }; private: -- 2.45.2