forked from premiere/premiere-libtorrent
remove unused exceeded_cache_use() function
This commit is contained in:
parent
e589e342ef
commit
9e5a2a7de4
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue