refactor: remove unused function tr_peer.bandwidth() (#5691)

This commit is contained in:
Charles Kerr
2023-06-29 11:14:05 -05:00
committed by GitHub
parent 22bb9e5757
commit 2f2ae61d0c
3 changed files with 0 additions and 12 deletions

View File

@@ -210,11 +210,6 @@ public:
return is_active;
}
[[nodiscard]] tr_bandwidth& bandwidth() noexcept override
{
return bandwidth_;
}
[[nodiscard]] TR_CONSTEXPR20 size_t activeReqCount(tr_direction dir) const noexcept override
{
if (dir == TR_CLIENT_TO_PEER) // blocks we've requested