summaryrefslogtreecommitdiffstats
path: root/Source/cmExportLibraryDependenciesCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-16 12:19:50 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-16 20:16:27 (GMT)
commitd9f5d3c50fe376423382d6445f7fb2906a43469e (patch)
tree9c5bf8e73442c99695473c3b4321c286c17ba5ac /Source/cmExportLibraryDependenciesCommand.cxx
parent3fda10945132fdd2dc11ea074a96789a4afa86bc (diff)
downloadCMake-d9f5d3c50fe376423382d6445f7fb2906a43469e.zip
CMake-d9f5d3c50fe376423382d6445f7fb2906a43469e.tar.gz
CMake-d9f5d3c50fe376423382d6445f7fb2906a43469e.tar.bz2
Remove redundant get() call on smart pointer
Diffstat (limited to 'Source/cmExportLibraryDependenciesCommand.cxx')
-rw-r--r--Source/cmExportLibraryDependenciesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
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());