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
1 changed files with 1 additions and 1 deletions

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