Merge pull request #563 from Dmitry-Me/betterParameterNameInClone
Better parameter name
This commit is contained in:
@@ -772,13 +772,13 @@ void XMLNode::SetValue( const char* str, bool staticMem )
|
||||
}
|
||||
}
|
||||
|
||||
XMLNode* XMLNode::DeepClone(XMLDocument* document) const
|
||||
XMLNode* XMLNode::DeepClone(XMLDocument* target) const
|
||||
{
|
||||
XMLNode* clone = this->ShallowClone(document);
|
||||
XMLNode* clone = this->ShallowClone(target);
|
||||
if (!clone) return 0;
|
||||
|
||||
for (const XMLNode* child = this->FirstChild(); child; child = child->NextSibling()) {
|
||||
XMLNode* childClone = child->DeepClone(document);
|
||||
XMLNode* childClone = child->DeepClone(target);
|
||||
TIXMLASSERT(childClone);
|
||||
clone->InsertEndChild(childClone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user