Remove redundant get() call on smart pointer
This commit is contained in:
parent
3fda109451
commit
d9f5d3c50f
|
@ -64,7 +64,7 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const
|
||||||
ap->SetCopyIfDifferent(true);
|
ap->SetCopyIfDifferent(true);
|
||||||
foutPtr = ap;
|
foutPtr = ap;
|
||||||
}
|
}
|
||||||
std::ostream& fout = *foutPtr.get();
|
std::ostream& fout = *foutPtr;
|
||||||
|
|
||||||
if (!fout) {
|
if (!fout) {
|
||||||
cmSystemTools::Error("Error Writing ", this->Filename.c_str());
|
cmSystemTools::Error("Error Writing ", this->Filename.c_str());
|
||||||
|
|
Loading…
Reference in New Issue