Add 'const' on XMLDocument::DeepCopy. This make us copy const
XMLDocument being copied to another document.
This commit is contained in:
@@ -2054,7 +2054,7 @@ void XMLDocument::Clear()
|
||||
}
|
||||
|
||||
|
||||
void XMLDocument::DeepCopy(XMLDocument* target)
|
||||
void XMLDocument::DeepCopy(XMLDocument* target) const
|
||||
{
|
||||
TIXMLASSERT(target);
|
||||
if (target == this) {
|
||||
|
||||
Reference in New Issue
Block a user