summaryrefslogtreecommitdiff
path: root/tests/test_dom_traverse.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-10-17 20:36:49 -0700
committerGitHub <noreply@github.com>2016-10-17 20:36:49 -0700
commita832e8a5eff11f58a00ca41ec51ff3895b0da165 (patch)
tree5bdb84eac327f15b879bec3aa1cdba52a5839fe6 /tests/test_dom_traverse.cpp
parentf53bddd7d5c79c35145ab506e48b18c457026543 (diff)
parentd0b0cc75ad1bc7c0c3226bc57d63095339579cbe (diff)
Merge pull request #119 from pavelkryukov/master
Add C++11 'override' specifier
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 25774a5..f977e15 100644
--- a/tests/test_dom_traverse.cpp
+++ b/tests/test_dom_traverse.cpp
@@ -798,7 +798,7 @@ struct test_walker: xml_tree_walker
#endif
}
- virtual bool begin(xml_node& node)
+ virtual bool begin(xml_node& node) PUGIXML_OVERRIDE
{
log += STR("|");
log += depthstr();
@@ -810,7 +810,7 @@ struct test_walker: xml_tree_walker
return ++call_count != stop_count && xml_tree_walker::begin(node);
}
- virtual bool for_each(xml_node& node)
+ virtual bool for_each(xml_node& node) PUGIXML_OVERRIDE
{
log += STR("|");
log += depthstr();
@@ -822,7 +822,7 @@ struct test_walker: xml_tree_walker
return ++call_count != stop_count && xml_tree_walker::end(node);
}
- virtual bool end(xml_node& node)
+ virtual bool end(xml_node& node) PUGIXML_OVERRIDE
{
log += STR("|");
log += depthstr();