Merge pull request #609 from JugglerShu/master

Add 'const' on XMLDocument::DeepCopy.
This commit is contained in:
Lee Thomason 2017-08-24 11:09:08 -07:00 committed by GitHub
commit d69e2c0d08
2 changed files with 2 additions and 2 deletions

View File

@ -2054,7 +2054,7 @@ void XMLDocument::Clear()
}
void XMLDocument::DeepCopy(XMLDocument* target)
void XMLDocument::DeepCopy(XMLDocument* target) const
{
TIXMLASSERT(target);
if (target == this) {

View File

@ -1826,7 +1826,7 @@ public:
NOTE: that the 'target' must be non-null.
*/
void DeepCopy(XMLDocument* target);
void DeepCopy(XMLDocument* target) const;
// internal
char* Identify( char* p, XMLNode** node );