diff --git a/include/libtorrent/storage.hpp b/include/libtorrent/storage.hpp index 2137da47c..74c81b883 100755 --- a/include/libtorrent/storage.hpp +++ b/include/libtorrent/storage.hpp @@ -231,17 +231,16 @@ namespace libtorrent class piece_manager : boost::noncopyable { public: - typedef entry::integer_type size_type; piece_manager( const torrent_info& info - , const boost::filesystem::path& path); + , const boost::filesystem::path& path); void check_pieces( boost::mutex& mutex - , detail::piece_checker_data& data - , std::vector& pieces); + , detail::piece_checker_data& data + , std::vector& pieces); void allocate_slots(int num_slots); diff --git a/src/storage.cpp b/src/storage.cpp index df97d1a08..81ccc1cbd 100755 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -1962,12 +1962,7 @@ namespace libtorrent { return slot_index; } -/* - int piece_manager::slot_for_piece(int piece_index) - { - return m_pimpl->slot_for_piece(piece_index); - } -*/ + void piece_manager::impl::allocate_slots(int num_slots) { {