Remove unused function

This commit is contained in:
Chocobo1
2020-11-01 14:25:33 +08:00
committed by sledgehammer999
parent bc20cf9ad7
commit baa609b713

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);