Remove unnecessary overload of XML_Node::addChild

This commit is contained in:
Ray Speth 2014-01-06 18:45:31 +00:00
parent 607955b9f2
commit 76a9c5e79c
2 changed files with 0 additions and 16 deletions

View file

@ -156,17 +156,6 @@ public:
*/
XML_Node& addChild(const std::string& sname);
//! Add a child node to the current node with a specified name
/*!
* This will add an XML_Node as a child to the current node.
* The node will be blank except for the specified name.
*
* @param cstring Name of the new child as a c string
*
* @return Returns a reference to the added node
*/
XML_Node& addChild(const char* cstring);
//! Add a child node to the current xml node, and at the
//! same time add a value to the child
/*!

View file

@ -435,11 +435,6 @@ XML_Node& XML_Node::addChild(const std::string& sname)
return *m_children.back();
}
XML_Node& XML_Node::addChild(const char* cstring)
{
return addChild(std::string(cstring));
}
XML_Node& XML_Node::addChild(const std::string& name_, const std::string& value_)
{
XML_Node& c = addChild(name_);