Add 'const' on XMLDocument::DeepCopy. This make us copy const

XMLDocument being copied to another document.
This commit is contained in:
Shuichiro Suzuki
2017-08-24 11:20:26 +09:00
parent 4bbf74205c
commit 87cd4e0582
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) {