Browse Source

clang-tidy: fix `readability-redundant-smartptr-get` lints

Ben Boeckel 2 years ago
parent
commit
66ca5b6137
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalVisualStudio7Generator.cxx

+ 1 - 1
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();