tests: Fixed PUGIXML_NO_STL compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@898 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
bda8e935e9
commit
4a2d398a07
@ -22,6 +22,12 @@ template <typename I> static I move_iter(I base, int n)
|
|||||||
else while (n++) --base;
|
else while (n++) --base;
|
||||||
return base;
|
return base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static xml_named_node_iterator move_iter(xml_named_node_iterator base, int n)
|
||||||
|
{
|
||||||
|
while (n--) ++base;
|
||||||
|
return base;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
template <typename I> static I move_iter(I base, int n)
|
template <typename I> static I move_iter(I base, int n)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user