From c0512850750dfa996c5602298816077f50a3cf62 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Tue, 9 Dec 2003 08:55:03 +0000 Subject: [PATCH] *** empty log message *** --- include/libtorrent/storage.hpp | 7 +++---- src/storage.cpp | 7 +------ 2 files changed, 4 insertions(+), 10 deletions(-) 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) { {