Commit d9f5d3c5 authored by Daniel Pfeifer's avatar Daniel Pfeifer
Browse files

Remove redundant get() call on smart pointer

parent 3fda1094
...@@ -64,7 +64,7 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const ...@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment