Remove unused function

This commit is contained in:
Chocobo1 2020-11-01 14:25:33 +08:00
parent 6b4a4517ec
commit 7ddd5e9bc3
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

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