summaryrefslogtreecommitdiffstats
path: root/utils/regtools/lib
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-12 13:13:07 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-12 13:14:02 +0100
commitc35e4a4b7d7c4da06f0f38f6f669f05d04f4537a (patch)
tree9ab9e5b23d636edceb6bc4916121e0cb86596d39 /utils/regtools/lib
parent0f72c73b5b6f8ef12da726c5a7229f8076cd98f0 (diff)
downloadrockbox-c35e4a4b7d7c4da06f0f38f6f669f05d04f4537a.tar.gz
rockbox-c35e4a4b7d7c4da06f0f38f6f669f05d04f4537a.tar.bz2
rockbox-c35e4a4b7d7c4da06f0f38f6f669f05d04f4537a.zip
Fix red
Change-Id: Ib64eb3539e33d4336c298612b4508c4611b80c9e
Diffstat (limited to 'utils/regtools/lib')
-rw-r--r--utils/regtools/lib/soc_desc.cpp4
-rw-r--r--utils/regtools/lib/soc_desc.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/regtools/lib/soc_desc.cpp b/utils/regtools/lib/soc_desc.cpp
index 223a6d8f53..21c2f8acac 100644
--- a/utils/regtools/lib/soc_desc.cpp
+++ b/utils/regtools/lib/soc_desc.cpp
@@ -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
diff --git a/utils/regtools/lib/soc_desc.hpp b/utils/regtools/lib/soc_desc.hpp
index d1a1f0cb50..0324a90fad 100644
--- a/utils/regtools/lib/soc_desc.hpp
+++ b/utils/regtools/lib/soc_desc.hpp
@@ -143,6 +143,6 @@ struct soc_t
/** Parse a SoC description from a XML file, append it to <soc>. A file
* can contain multiple SoC descriptions */
-bool soc_desc_parse_xml(const std::string& filename, std::list< soc_t >& soc);
+bool soc_desc_parse_xml(const std::string& filename, std::vector< soc_t >& soc);
#endif /* __SOC_DESC__ */ \ No newline at end of file