removed redundant get() calls

This commit is contained in:
Jack Andersen
2015-08-05 11:45:25 -10:00
parent ebb5c0743d
commit 28ed4ba6af
4 changed files with 13 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ bool DiscBase::IPartition::Node::extractToDirectory(const SystemString& basePath
{
std::unique_ptr<IPartReadStream> rs = beginReadStream();
std::unique_ptr<IFileIO::IWriteStream> ws = NewFileIO(path)->beginWriteStream();
ws->copyFromDisc(*rs.get(), m_discLength);
ws->copyFromDisc(*rs, m_discLength);
}
}
return true;