diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-23 03:57:12 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-23 03:57:12 +0000 |
commit | dae6d908e5abff3090cc7378878b0c083c492bf8 (patch) | |
tree | 743fe2d693f66d8a8f012704de296578643c6607 /src/pugixml.cpp | |
parent | 35c0c6aa5c2af37001c1118a96038c1e7812f5b3 (diff) |
Const-correctness 'fixes' (it's impossible to be const-correct here so remove redundant member)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@879 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 7 |
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); } |