summaryrefslogtreecommitdiff
path: root/tests/test_dom_traverse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 05:41:26 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-01 05:41:26 +0000
commita9d08d992378c8e73c80b949be1ec895ae597da8 (patch)
tree040fa0871cab3ed268c5f2dd149e16a749e76530 /tests/test_dom_traverse.cpp
parenta248138cedaa1095907e9f9177f613a1940ae377 (diff)
tests: Improved IntelC support, added more compilers to autotest, removed old autotest script
git-svn-id: http://pugixml.googlecode.com/svn/trunk@490 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r--tests/test_dom_traverse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp
index 366c683..0ca554a 100644
--- a/tests/test_dom_traverse.cpp
+++ b/tests/test_dom_traverse.cpp
@@ -1,4 +1,5 @@
#define _CRT_SECURE_NO_WARNINGS
+#define _SCL_SECURE_NO_WARNINGS
#include "common.hpp"
@@ -541,7 +542,7 @@ struct test_walker: xml_tree_walker
#ifdef PUGIXML_WCHAR_MODE
wchar_t wbuf[32];
- std::copy(buf, buf + strlen(buf) + 1, wbuf);
+ std::copy(buf, buf + strlen(buf) + 1, &wbuf[0]);
return std::basic_string<pugi::char_t>(wbuf);
#else