commit | 87cd4e05827d38d93bd23a55929e694b609ef42e | [log] [tgz] |
---|---|---|
author | Shuichiro Suzuki <shuichiro_suzuki@trendmicro.co.jp> | Thu Aug 24 11:20:26 2017 +0900 |
committer | Shuichiro Suzuki <shuichiro_suzuki@trendmicro.co.jp> | Thu Aug 24 11:20:26 2017 +0900 |
tree | a464b55f09570d878bf2b3d2f56a2912378338e9 | |
parent | 4bbf74205cc6ccb82da1d78a2ee8f20c359bac2c [diff] [blame] |
Add 'const' on XMLDocument::DeepCopy. This make us copy const XMLDocument being copied to another document.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 8a3f857..5cdedbb 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -2054,7 +2054,7 @@ } -void XMLDocument::DeepCopy(XMLDocument* target) +void XMLDocument::DeepCopy(XMLDocument* target) const { TIXMLASSERT(target); if (target == this) {