mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Remove c_str calls when using stream APIs.
Use an ad-hoc clang tool for matching the calls which should be ported.
This commit is contained in:
@@ -286,7 +286,7 @@ bool cmAddCustomCommandCommand
|
||||
|
||||
// No command for this output exists.
|
||||
cmOStringStream e;
|
||||
e << "given APPEND option with output \"" << output[0].c_str()
|
||||
e << "given APPEND option with output \"" << output[0]
|
||||
<< "\" which is not already a custom command output.";
|
||||
this->SetError(e.str());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user