diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:57:41 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | 07172aa31ec468baea0dc3e52ce6f706f55d6f12 (patch) | |
tree | e8c4dda31188b6acc14519902728195faf275734 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | c61ece5c40a30e99e0f3a45c76dd802a14e4db96 (diff) | |
download | CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.zip CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.tar.gz CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.tar.bz2 |
clang-tidy: fix `readability-redundant-string-cstr` lints
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index c3b5dfc..1cceefa 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -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()) { |