1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

Remove redundant get() call on smart pointer

This commit is contained in:
Daniel Pfeifer
2016-09-16 14:19:50 +02:00
parent 3fda109451
commit d9f5d3c50f

View File

@@ -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());