mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
clang-tidy: fix readability-redundant-string-cstr lints
This commit is contained in:
@@ -216,7 +216,7 @@ void cmLocalVisualStudio7Generator::GenerateTarget(cmGeneratorTarget* target)
|
||||
// Generate the project file and replace it atomically with
|
||||
// copy-if-different. We use a separate timestamp so that the IDE
|
||||
// does not reload project files unnecessarily.
|
||||
cmGeneratedFileStream fout(fname.c_str());
|
||||
cmGeneratedFileStream fout(fname);
|
||||
fout.SetCopyIfDifferent(true);
|
||||
this->WriteVCProjFile(fout, lname, target);
|
||||
if (fout.Close()) {
|
||||
|
||||
Reference in New Issue
Block a user