summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLSafe.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-06 14:08:02 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-06 14:08:02 (GMT)
commit81601796a64807689e6d0af2bbd263b672e8434d (patch)
tree62df62bbd9e191cfdf5f4a57112c01586bfb8136 /Source/cmXMLSafe.h
parent67671ac40014b214bf19f608097f57f3e9f53a74 (diff)
downloadCMake-81601796a64807689e6d0af2bbd263b672e8434d.zip
CMake-81601796a64807689e6d0af2bbd263b672e8434d.tar.gz
CMake-81601796a64807689e6d0af2bbd263b672e8434d.tar.bz2
COMP: Avoid parameter/member shadow in cmXMLSafe
A cmXMLSafe constructor named its parameter 'str' which shadowed the name of the 'str' method. This renames the parameter to avoid the conflict warning.
Diffstat (limited to 'Source/cmXMLSafe.h')
-rw-r--r--Source/cmXMLSafe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXMLSafe.h b/Source/cmXMLSafe.h
index 6352ad6..062ac5c 100644
--- a/Source/cmXMLSafe.h
+++ b/Source/cmXMLSafe.h
@@ -29,7 +29,7 @@ public:
/** Construct with the data to be written. This assumes the data
will exist for the duration of this object's life. */
cmXMLSafe(const char* s);
- cmXMLSafe(cmsys_stl::string const& str);
+ cmXMLSafe(cmsys_stl::string const& s);
/** Specify whether to escape quotes too. This is needed when
writing the content of an attribute value. By default quotes