From d9f5d3c50fe376423382d6445f7fb2906a43469e Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Fri, 16 Sep 2016 14:19:50 +0200 Subject: Remove redundant get() call on smart pointer --- Source/cmExportLibraryDependenciesCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmExportLibraryDependenciesCommand.cxx b/Source/cmExportLibraryDependenciesCommand.cxx index d9c30e7..350c855 100644 --- a/Source/cmExportLibraryDependenciesCommand.cxx +++ b/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()); -- cgit v0.12