mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Remove redundant c_str() calls
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user