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
This commit is contained in:
parent
35c0c6aa5c
commit
dae6d908e5
@ -4090,12 +4090,7 @@ namespace pugi
|
|||||||
return xml_node(static_cast<impl::xml_document_struct*>(page->allocator));
|
return xml_node(static_cast<impl::xml_document_struct*>(page->allocator));
|
||||||
}
|
}
|
||||||
|
|
||||||
const xml_text xml_node::text() const
|
xml_text xml_node::text() const
|
||||||
{
|
|
||||||
return xml_text(_root);
|
|
||||||
}
|
|
||||||
|
|
||||||
xml_text xml_node::text()
|
|
||||||
{
|
{
|
||||||
return xml_text(_root);
|
return xml_text(_root);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -391,8 +391,7 @@ namespace pugi
|
|||||||
xml_node root() const;
|
xml_node root() const;
|
||||||
|
|
||||||
// Get text object for the current node
|
// Get text object for the current node
|
||||||
const xml_text text() const;
|
xml_text text() const;
|
||||||
xml_text text();
|
|
||||||
|
|
||||||
// Get child, attribute or next/previous sibling with the specified name
|
// Get child, attribute or next/previous sibling with the specified name
|
||||||
xml_node child(const char_t* name) const;
|
xml_node child(const char_t* name) const;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user