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/cmWriteFileCommand.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/cmWriteFileCommand.cxx')
-rw-r--r-- | Source/cmWriteFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx index b3ac31c..96c8e27 100644 --- a/Source/cmWriteFileCommand.cxx +++ b/Source/cmWriteFileCommand.cxx @@ -65,7 +65,7 @@ bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& args, overwrite ? std::ios::out : std::ios::app); if (!file) { std::string error = "Internal CMake error when trying to open file: "; - error += fileName.c_str(); + error += fileName; error += " for writing."; this->SetError(error); return false; |