remove unused exceeded_cache_use() function

This commit is contained in:
arvidn 2016-11-06 23:53:58 -05:00 committed by Arvid Norberg
parent e589e342ef
commit 9e5a2a7de4
3 changed files with 0 additions and 7 deletions

View File

@ -600,9 +600,6 @@ namespace libtorrent
void reclaim_blocks(span<block_cache_reference> refs) override;
void do_reclaim_blocks();
bool exceeded_cache_use() const
{ return m_disk_thread.exceeded_cache_use(); }
// implements dht_observer
virtual void set_external_address(address const& ip
, address const& source) override;

View File

@ -93,7 +93,6 @@ namespace libtorrent
return m_in_use;
}
std::uint32_t num_to_evict(int num_needed = 0);
bool exceeded_max_size() const { return m_exceeded_max_size; }
void set_settings(aux::session_settings const& sett, error_code& ec);

View File

@ -339,9 +339,6 @@ namespace libtorrent
disk_buffer_holder allocate_disk_buffer(bool& exceeded, std::shared_ptr<disk_observer> o
, char const* category) override;
bool exceeded_cache_use() const
{ return m_disk_cache.exceeded_max_size(); }
void update_stats_counters(counters& c) const override;
void get_cache_info(cache_status* ret, bool no_pieces = true
, piece_manager const* storage = 0) const override;