summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 12:14:04 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 12:14:04 -0700
commit1298c8db79fbadf4459762f47467643de112c168 (patch)
treeaca60cd1ae8e126efe0667cb3e4a674be2772c5e /src/pugixml.cpp
parent809f992f83d46abbb876ac0bcc82effa210ae508 (diff)
Fix -Wshadow warning
Diffstat (limited to 'src/pugixml.cpp')
-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;
}