Skip to content

Commit

Permalink
fix file_pool::open_file() call
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Aug 14, 2022
1 parent db5b7b8 commit 8d4299b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pread_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ namespace {
try {
return m_pool.open_file(storage_index(), m_save_path, file
, files(), mode
#if TORRENT_HAVE_MAP_VIEW_OF_FILE
, std::shared_ptr<std::mutex>()
#endif
);
}
catch (storage_error const& se)
Expand Down

0 comments on commit 8d4299b

Please sign in to comment.