فهرست منبع

Remove redundant get() call on smart pointer

Daniel Pfeifer 9 سال پیش
والد
کامیت
d9f5d3c50f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Source/cmExportLibraryDependenciesCommand.cxx

+ 1 - 1
Source/cmExportLibraryDependenciesCommand.cxx

@@ -64,7 +64,7 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const
     ap->SetCopyIfDifferent(true);
     foutPtr = ap;
   }
-  std::ostream& fout = *foutPtr.get();
+  std::ostream& fout = *foutPtr;
 
   if (!fout) {
     cmSystemTools::Error("Error Writing ", this->Filename.c_str());