mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #609 from JugglerShu/master
Add 'const' on XMLDocument::DeepCopy.
This commit is contained in:
commit
d69e2c0d08
|
@ -2054,7 +2054,7 @@ void XMLDocument::Clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void XMLDocument::DeepCopy(XMLDocument* target)
|
void XMLDocument::DeepCopy(XMLDocument* target) const
|
||||||
{
|
{
|
||||||
TIXMLASSERT(target);
|
TIXMLASSERT(target);
|
||||||
if (target == this) {
|
if (target == this) {
|
||||||
|
|
|
@ -1826,7 +1826,7 @@ public:
|
||||||
|
|
||||||
NOTE: that the 'target' must be non-null.
|
NOTE: that the 'target' must be non-null.
|
||||||
*/
|
*/
|
||||||
void DeepCopy(XMLDocument* target);
|
void DeepCopy(XMLDocument* target) const;
|
||||||
|
|
||||||
// internal
|
// internal
|
||||||
char* Identify( char* p, XMLNode** node );
|
char* Identify( char* p, XMLNode** node );
|
||||||
|
|
Loading…
Reference in New Issue