summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-03-29 06:37:39 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-03-29 06:37:39 +0000
commit1e37455c1b73161e189867ba204c530052f70af7 (patch)
tree7e20c4b721cf4a3c4f7fd5805d11e572993aeccf /src/pugixml.cpp
parent9e3d8be0d082b20a9ed3b80eec0e841245594367 (diff)
Const-correctness fixes for find_child_by_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@120 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 29abdcd..ac2308e 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -2436,7 +2436,7 @@ namespace pugi
n._root->destroy();
}
- xml_node xml_node::find_child_by_attribute(const char* name, const char* attr_name, const char* attr_value)
+ xml_node xml_node::find_child_by_attribute(const char* name, const char* attr_name, const char* attr_value) const
{
if (empty()) return xml_node();
@@ -2451,7 +2451,7 @@ namespace pugi
return xml_node();
}
- xml_node xml_node::find_child_by_attribute_w(const char* name, const char* attr_name, const char* attr_value)
+ xml_node xml_node::find_child_by_attribute_w(const char* name, const char* attr_name, const char* attr_value) const
{
if (empty()) return xml_node();
@@ -2466,7 +2466,7 @@ namespace pugi
return xml_node();
}
- xml_node xml_node::find_child_by_attribute(const char* attr_name, const char* attr_value)
+ xml_node xml_node::find_child_by_attribute(const char* attr_name, const char* attr_value) const
{
if (empty()) return xml_node();
@@ -2478,7 +2478,7 @@ namespace pugi
return xml_node();
}
- xml_node xml_node::find_child_by_attribute_w(const char* attr_name, const char* attr_value)
+ xml_node xml_node::find_child_by_attribute_w(const char* attr_name, const char* attr_value) const
{
if (empty()) return xml_node();