mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
Remove redundant get() call on smart pointer
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user