summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 20:42:29 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:46 (GMT)
commit66ca5b6137cf1c7aa40c30cbba255537b540d1ea (patch)
tree4fd02677552cccac49208690df75e5329e736b38 /Source/cmLocalVisualStudio7Generator.cxx
parent32c38a269a4564b2e6ceb88e4012bfe9d6aed062 (diff)
downloadCMake-66ca5b6137cf1c7aa40c30cbba255537b540d1ea.zip
CMake-66ca5b6137cf1c7aa40c30cbba255537b540d1ea.tar.gz
CMake-66ca5b6137cf1c7aa40c30cbba255537b540d1ea.tar.bz2
clang-tidy: fix `readability-redundant-smartptr-get` lints
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 66ac019..ded1647 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1935,7 +1935,7 @@ void cmLocalVisualStudio7Generator::OutputTargetRules(
}
std::unique_ptr<cmCustomCommand> pcc(
this->MaybeCreateImplibDir(target, configName, this->FortranProject));
- if (pcc.get()) {
+ if (pcc) {
event.Write(*pcc);
}
event.Finish();