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.h b/tinyxml2.h index a372b41..7b5bb0e 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -1826,7 +1826,7 @@ NOTE: that the 'target' must be non-null. */ - void DeepCopy(XMLDocument* target); + void DeepCopy(XMLDocument* target) const; // internal char* Identify( char* p, XMLNode** node );