Better parameter name
diff --git a/tinyxml2.h b/tinyxml2.h
index 3465f2f..bc15704 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -868,8 +868,8 @@
/**
Make a copy of this node and all its children.
- If the 'document' is null, then the nodes will
- be allocated in the current document. If document
+ If the 'target' is null, then the nodes will
+ be allocated in the current document. If 'target'
is specified, the memory will be allocated is the
specified XMLDocument.
@@ -878,7 +878,7 @@
top level XMLNodes. You probably want to use
XMLDocument::DeepCopy()
*/
- XMLNode* DeepClone( XMLDocument* document ) const;
+ XMLNode* DeepClone( XMLDocument* target ) const;
/**
Test if 2 nodes are the same, but don't test children.