Remove unused function

This commit is contained in:
Chocobo1 2020-11-01 14:25:33 +08:00 committed by sledgehammer999
commit baa609b713
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -32,12 +32,6 @@
namespace
{
bool isPaused(const lt::torrent_status &torrentStatus)
{
return ((torrentStatus.flags & lt::torrent_flags::paused)
&& !(torrentStatus.flags & lt::torrent_flags::auto_managed));
}
bool isAutoManaged(const lt::torrent_status &torrentStatus)
{
return static_cast<bool>(torrentStatus.flags & lt::torrent_flags::auto_managed);