X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fcollection.h;h=612a0af01879deaac213f1883db29df76d3cd57d;hp=50905ce0d14972d65b24ac37dc74cdd6b5e21be9;hb=5e677b2b3eeb2b3c41216a329f7b1363aade0aed;hpb=41230218ca007b56932fd34b79b6f3e3e70764f6 diff --git a/source/collection.h b/source/collection.h index 50905ce..612a0af 100644 --- a/source/collection.h +++ b/source/collection.h @@ -83,7 +83,7 @@ public: private: typedef std::map ItemMap; typedef std::list TypeList; - typedef std::list SourceList; + typedef std::list SourceList; TypeList types; ItemMap items; @@ -264,7 +264,7 @@ private: protected: /** Adds a source for automatically loading items. Sources are consulted in the order they are added. */ - void add_source(CollectionSource &); + void add_source(const CollectionSource &); public: /** Opens a raw resource, without interpreting it as object data. Null is