diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-08 05:29:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:35 (GMT) |
commit | 215b1addf09359507281359cd7d478c61c01a9f2 (patch) | |
tree | 3c6feb2cda4b6d2d75916240d10b50ffc6123459 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 4c53997f3880785953e3ab6c811626b85ee67510 (diff) | |
download | CMake-215b1addf09359507281359cd7d478c61c01a9f2.zip CMake-215b1addf09359507281359cd7d478c61c01a9f2.tar.gz CMake-215b1addf09359507281359cd7d478c61c01a9f2.tar.bz2 |
stringapi: Take strings in escaping functions
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 280320f..7b921a3 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -2100,7 +2100,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjFooter(std::ostream& fout, << "</VisualStudioProject>\n"; } -std::string cmLocalVisualStudio7GeneratorEscapeForXML(const char* s) +std::string cmLocalVisualStudio7GeneratorEscapeForXML(const std::string& s) { std::string ret = s; cmSystemTools::ReplaceString(ret, "&", "&"); @@ -2111,7 +2111,7 @@ std::string cmLocalVisualStudio7GeneratorEscapeForXML(const char* s) return ret; } -std::string cmLocalVisualStudio7Generator::EscapeForXML(const char* s) +std::string cmLocalVisualStudio7Generator::EscapeForXML(const std::string& s) { return cmLocalVisualStudio7GeneratorEscapeForXML(s); } |