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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user