diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 19:42:54 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:45 (GMT) |
commit | d64adb9267213c0031b376633b70707ddcfc9ba6 (patch) | |
tree | f9a18fc6b412e24bbba34e6d3b8203441b305309 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | f76ebc3c05fdb7e90673dd98392a01c41f056b18 (diff) | |
download | CMake-d64adb9267213c0031b376633b70707ddcfc9ba6.zip CMake-d64adb9267213c0031b376633b70707ddcfc9ba6.tar.gz CMake-d64adb9267213c0031b376633b70707ddcfc9ba6.tar.bz2 |
clang-tidy: fix `readability-string-compare` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 6931301..6154d8e 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -1140,7 +1140,7 @@ cmGlobalVisualStudio10Generator::GenerateBuildCommand( std::string extension = cmSystemTools::GetFilenameLastExtension(proj->GetRelativePath()); extension = cmSystemTools::LowerCase(extension); - if (extension.compare(".csproj") == 0) { + if (extension == ".csproj") { // Use correct platform name platform = slnData.GetConfigurationTarget(tname, plainConfig, platform); |