From: Mikko Rasa Date: Thu, 27 Sep 2012 13:11:56 +0000 (+0300) Subject: Simplify loading collection items X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=60e8000566e2b1510ccd52697793ab049b62b07c;hp=60e8000566e2b1510ccd52697793ab049b62b07c;p=libs%2Fdatafile.git Simplify loading collection items The ItemLoader wrapper from DirectoryCollection can be used in the base Collection::Loader as well. This removes the need for the kludgy struct Add and the need for two separate loader functions. As an added bonus, the ItemLoader can still be used in DirectoryCollection and future derived classes as well, further reducing duplication. ---