summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-20 20:44:07 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-20 20:44:07 (GMT)
commit2e768924f3a6c174ff27e3c7d55caee91a752811 (patch)
tree466566b1376cbb09fd34fd577ec7c56c4569d268 /Source/cmLocalVisualStudio7Generator.h
parent941c09616bc214db77e3b1b7e5229517db08b45c (diff)
downloadCMake-2e768924f3a6c174ff27e3c7d55caee91a752811.zip
CMake-2e768924f3a6c174ff27e3c7d55caee91a752811.tar.gz
CMake-2e768924f3a6c174ff27e3c7d55caee91a752811.tar.bz2
cmLocalVisualStudio7Generator: clean up c_str()
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index 22a5f9a..745766c 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -101,8 +101,8 @@ private:
void WriteConfiguration(std::ostream& fout, const std::string& configName,
const std::string& libName, cmGeneratorTarget* tgt);
std::string EscapeForXML(const std::string& s);
- std::string ConvertToXMLOutputPath(const char* path);
- std::string ConvertToXMLOutputPathSingle(const char* path);
+ std::string ConvertToXMLOutputPath(const std::string& path);
+ std::string ConvertToXMLOutputPathSingle(const std::string& path);
void OutputTargetRules(std::ostream& fout, const std::string& configName,
cmGeneratorTarget* target,
const std::string& libName);