summaryrefslogtreecommitdiff
path: root/tests/test_dom_modify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_dom_modify.cpp')
-rw-r--r--tests/test_dom_modify.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp
index 2c53914..612b017 100644
--- a/tests/test_dom_modify.cpp
+++ b/tests/test_dom_modify.cpp
@@ -1,6 +1,7 @@
#include "common.hpp"
#include <limits>
+#include <string>
TEST_XML(dom_attr_assign, "<node/>")
{
@@ -1256,7 +1257,7 @@ TEST(dom_node_copy_stackless)
data += STR("text");
- for (unsigned int i = 0; i < count; ++i)
+ for (unsigned int j = 0; j < count; ++j)
data += STR("</a>");
xml_document doc;