mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05: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:
@@ -91,7 +91,7 @@ bool cmSourceGroupCommand
|
||||
else
|
||||
{
|
||||
cmOStringStream err;
|
||||
err << "Unknown argument \"" << args[i].c_str() << "\". "
|
||||
err << "Unknown argument \"" << args[i] << "\". "
|
||||
<< "Perhaps the FILES keyword is missing.\n";
|
||||
this->SetError(err.str());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user