summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 0513e0d..13034f4 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4090,12 +4090,7 @@ namespace pugi
return xml_node(static_cast<impl::xml_document_struct*>(page->allocator));
}
- const xml_text xml_node::text() const
- {
- return xml_text(_root);
- }
-
- xml_text xml_node::text()
+ xml_text xml_node::text() const
{
return xml_text(_root);
}