mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
Remove c_str() calls from stream arguments.
Mostly automated: git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
This commit is contained in:
@@ -213,7 +213,7 @@ bool cmGlobalKdevelopGenerator::CreateFilelistFile(
|
||||
cmSystemTools::ReplaceString(tmp, projectDir.c_str(), "");
|
||||
// only put relative paths
|
||||
if (!tmp.empty() && tmp[0] != '/') {
|
||||
fout << tmp.c_str() << "\n";
|
||||
fout << tmp << "\n";
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user