summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 00a273a..dacd8cd 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1217,29 +1217,33 @@ namespace pugi
* Remove specified attribute
*
* \param a - attribute to be removed
+ * \return success flag
*/
- void remove_attribute(const xml_attribute& a);
+ bool remove_attribute(const xml_attribute& a);
/**
* Remove attribute with the specified name, if any
*
* \param name - attribute name
+ * \return success flag
*/
- void remove_attribute(const char_t* name);
+ bool remove_attribute(const char_t* name);
/**
* Remove specified child
*
* \param n - child node to be removed
+ * \return success flag
*/
- void remove_child(const xml_node& n);
+ bool remove_child(const xml_node& n);
/**
* Remove child with the specified name, if any
*
* \param name - child name
+ * \return success flag
*/
- void remove_child(const char_t* name);
+ bool remove_child(const char_t* name);
public:
/**