diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-28 20:08:19 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-28 20:08:19 +0000 |
commit | 9216c82cfdeba41a35314f0315a5b61b42e82c1c (patch) | |
tree | f554c2aee0c74550bd13bdbaee9ba7e53f54319f /tests/test_dom_traverse.cpp | |
parent | 0815f85d7a1814c4026e6b15e93d8cb88121fe7d (diff) |
tests: Fixed MSVC warnings/errors
git-svn-id: http://pugixml.googlecode.com/svn/trunk@185 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r-- | tests/test_dom_traverse.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp index b1f83e3..9c45dc6 100644 --- a/tests/test_dom_traverse.cpp +++ b/tests/test_dom_traverse.cpp @@ -4,6 +4,10 @@ #include <vector>
#include <iterator>
+#ifdef _MSC_VER
+#pragma warning(disable: 4996)
+#endif
+
template <typename I> I move_iter(I base, int n)
{
std::advance(base, n);
|