diff options
author | Brad King <brad.king@kitware.com> | 2015-02-10 14:37:57 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-02-10 14:37:57 (GMT) |
commit | e2619c13f727504b7368e0bf156c17112ee81568 (patch) | |
tree | ab0df7233b35770acf1ce7d0d9bde2824cc6419e /Source/cmXMLSafe.h | |
parent | c548ddc1724c9c96bab04d2f51d1740360bcb737 (diff) | |
parent | d8639733a42149ca1402dcae427f2142ab0cf037 (diff) | |
download | CMake-e2619c13f727504b7368e0bf156c17112ee81568.zip CMake-e2619c13f727504b7368e0bf156c17112ee81568.tar.gz CMake-e2619c13f727504b7368e0bf156c17112ee81568.tar.bz2 |
Merge topic 'use-algorithms'
d8639733 cmSystemTools: Remove unnecessary comparison.
803317aa cmSystemTools: Early return if size makes later comparison false.
11093a03 Replace temporary bool by inlining warning condition.
6cd2ee95 Replace loop with member algorithm.
94e993a0 cmComputeLinkDepends: Remove temporary iterator copy.
69dbe51b Replace loop with algorithm.
683fafea Replace a loop with std::transform.
63f584b6 Replace while loop with member insert.
74c4d9d2 Take a size check outside of an inner loop.
71d47115 Use insert member instead of back_inserter.
39622c99 Convert while loop to member insert.
a7fcc148 Convert loop to algorithm.
d46c4f07 Extract a prefix variable from loop.
d59913f0 Take computation out of loop.
3f3db744 cmMakefile: Remove ExpandSourceListArguments.
bd990c80 Remove use of ExpandSourceListArguments.
...
Diffstat (limited to 'Source/cmXMLSafe.h')
-rw-r--r-- | Source/cmXMLSafe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmXMLSafe.h b/Source/cmXMLSafe.h index cba9f39..c23a90c 100644 --- a/Source/cmXMLSafe.h +++ b/Source/cmXMLSafe.h @@ -24,7 +24,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& s); + cmXMLSafe(std::string const& s); /** Specify whether to escape quotes too. This is needed when writing the content of an attribute value. By default quotes @@ -32,7 +32,7 @@ public: cmXMLSafe& Quotes(bool b = true); /** Get the escaped data as a string. */ - cmsys_stl::string str(); + std::string str(); private: char const* Data; unsigned long Size; |