Better parameter name
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 772d2ae..fef6ae0 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -772,13 +772,13 @@
}
}
-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);
}