summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 323994d..91e7a5b 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1723,7 +1723,7 @@ namespace pugi
if (node.first_child())
{
- xml_node found = node.find_element(pred);
+ xml_node found = node.find_node(pred);
if (found) return found;
}
}