summaryrefslogtreecommitdiff
path: root/tests/test_dom_traverse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-12-19 10:16:37 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-12-19 10:16:37 +0000
commitd99745be21ad9affc7e127944556c74da07440c4 (patch)
treeb892303531af3f3775aeaa01799f2cb691a6d0f4 /tests/test_dom_traverse.cpp
parent5720761685a1abc8ae0b5840a62359d35838ac3b (diff)
Enabled many additional GCC warnings (most notably -Wshadow and -Wold-style-cast), fixed the code accordingly
git-svn-id: http://pugixml.googlecode.com/svn/trunk@800 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r--tests/test_dom_traverse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp
index 0ee87ed..d62cce0 100644
--- a/tests/test_dom_traverse.cpp
+++ b/tests/test_dom_traverse.cpp
@@ -490,7 +490,7 @@ struct find_predicate_const
{
bool result;
- find_predicate_const(bool result): result(result)
+ find_predicate_const(bool result_): result(result_)
{
}
@@ -504,7 +504,7 @@ struct find_predicate_prefix
{
const pugi::char_t* prefix;
- find_predicate_prefix(const pugi::char_t* prefix): prefix(prefix)
+ find_predicate_prefix(const pugi::char_t* prefix_): prefix(prefix_)
{
}
@@ -616,7 +616,7 @@ struct test_walker: xml_tree_walker
unsigned int call_count;
unsigned int stop_count;
- test_walker(unsigned int stop_count = 0): call_count(0), stop_count(stop_count)
+ test_walker(unsigned int stop_count_ = 0): call_count(0), stop_count(stop_count_)
{
}