From: Mikko Rasa Date: Tue, 17 Apr 2012 09:00:03 +0000 (+0300) Subject: Style fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=61f6f66a7db1a074143cd0e9948a262d30876dea;p=libs%2Fdatafile.git Style fixes --- 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: