X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcollection.cpp;fp=source%2Fcollection.cpp;h=129c0a84f76808c14f0a8164b853e0c56d6ccb97;hb=a887b3f7518605c22e4b70eeb9fe136acb2ea632;hp=9f135f0c0ed8eab31c6ffe730b23fd683b69e98e;hpb=42752616c307bfb5a25fda5dae38c5e3d2f21694;p=libs%2Fdatafile.git diff --git a/source/collection.cpp b/source/collection.cpp index 9f135f0..129c0a8 100644 --- a/source/collection.cpp +++ b/source/collection.cpp @@ -44,7 +44,7 @@ const Variant &Collection::get_var(const string &name, const CollectionItemTypeB return get_item(items, name); } -void Collection::gather_items(list *vars, list *names, const CollectionItemTypeBase &type, bool include_sources) const +void Collection::gather_items(vector *vars, list *names, const CollectionItemTypeBase &type, bool include_sources) const { for(ItemMap::const_iterator i=items.begin(); i!=items.end(); ++i) if(type.check_item_type(i->second))