remove impl for box dyn storage

This commit is contained in:
Igor Katson 2024-04-30 09:11:23 +01:00
parent dc137c075f
commit 3e37b4698f
4 changed files with 4 additions and 26 deletions

View file

@ -491,7 +491,7 @@ impl TorrentStateLive {
pub(crate) fn file_ops(&self) -> FileOps<'_> {
FileOps::new(
&self.meta.info,
&self.files,
&*self.files,
&self.meta().file_infos,
&self.lengths,
)