summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 9cbce7c..b2cc690 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4897,7 +4897,7 @@ PUGI__NS_BEGIN
xml_node_struct* node;
char_t* name;
- name_null_sentry(xml_node_struct* node): node(node), name(node->name)
+ name_null_sentry(xml_node_struct* node_): node(node_), name(node_->name)
{
node->name = 0;
}