mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Remove some c_str() calls.
Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
This commit is contained in:
@@ -151,7 +151,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
|
||||
"\n"
|
||||
"Alternatively, set CTEST_BUILD_COMMAND to build the project "
|
||||
"with a custom command line.";
|
||||
this->SetError(ostr.str().c_str());
|
||||
this->SetError(ostr.str());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user