diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 17:34:06 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-30 17:34:06 (GMT) |
commit | 602b78aa79f6d99e775fa0a84fb441156d192833 (patch) | |
tree | 41e41ce60fd8eefb7e34db35884bfa9925d73c8b /Source/cmOutputRequiredFilesCommand.cxx | |
parent | c58c739da7287a1cb33558f4e121ecdb23cfadd9 (diff) | |
download | CMake-602b78aa79f6d99e775fa0a84fb441156d192833.zip CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.gz CMake-602b78aa79f6d99e775fa0a84fb441156d192833.tar.bz2 |
Remove redundant c_str() calls
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r-- | Source/cmOutputRequiredFilesCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx index 32b0a92..f3aa79c 100644 --- a/Source/cmOutputRequiredFilesCommand.cxx +++ b/Source/cmOutputRequiredFilesCommand.cxx @@ -206,7 +206,7 @@ protected: std::string message = "Skipping "; message += includeFile; message += " for file "; - message += info->FullPath.c_str(); + message += info->FullPath; cmSystemTools::Error(message.c_str(), CM_NULLPTR); } continue; @@ -520,7 +520,7 @@ bool cmOutputRequiredFilesCommand::InitialPass( const cmDependInformation* info = md.FindDependencies(this->File.c_str()); if (info) { // write them out - FILE* fout = cmsys::SystemTools::Fopen(this->OutputFile.c_str(), "w"); + FILE* fout = cmsys::SystemTools::Fopen(this->OutputFile, "w"); if (!fout) { std::string err = "Can not open output file: "; err += this->OutputFile; |