1
0
Fork 0
forked from len0rd/rockbox
Change-Id: Ib64eb3539e33d4336c298612b4508c4611b80c9e
This commit is contained in:
Amaury Pouly 2014-02-12 13:13:07 +01:00
parent 0f72c73b5b
commit c35e4a4b7d
4 changed files with 12 additions and 9 deletions

View file

@ -252,7 +252,7 @@ bool parse_soc_elem(xmlNode *node, soc_t& soc)
return true;
}
bool parse_root_elem(xmlNode *node, std::list< soc_t >& soc)
bool parse_root_elem(xmlNode *node, std::vector< soc_t >& soc)
{
BEGIN_NODE_MATCH(node)
MATCH_ELEM_NODE("soc", soc, parse_soc_elem)
@ -260,7 +260,7 @@ bool parse_root_elem(xmlNode *node, std::list< soc_t >& soc)
return true;
}
bool soc_desc_parse_xml(const std::string& filename, std::list< soc_t >& socs)
bool soc_desc_parse_xml(const std::string& filename, std::vector< soc_t >& socs)
{
LIBXML_TEST_VERSION