diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-23 03:40:12 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-23 03:40:12 +0000 |
commit | 5e33adbc682aebd99cc86cfe54188857026a3ad4 (patch) | |
tree | dde4b2e43672c9b63f3e44021ca0f41933fcd9b7 /src/pugixml.cpp | |
parent | 0237fb466e36bdfc82c5e9dab1791f546f7e2979 (diff) |
Added xml_text::data() (for regular xml_node operations, i.e. remove_child)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@876 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 105e056..b51055a 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4866,6 +4866,11 @@ namespace pugi return *this; } + PUGI__FN xml_node xml_text::data() const + { + return xml_node(_data()); + } + #ifdef __BORLANDC__ PUGI__FN bool operator&&(const xml_text& lhs, bool rhs) { |