Remove unused variable

This commit is contained in:
Chocobo1 2022-03-18 12:48:37 +08:00
parent 802ec5a14e
commit 1b4c5fd34d
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -240,7 +240,7 @@ void StatusFilterWidget::updateTorrentStatus(const BitTorrent::Torrent *torrent)
{
TorrentFilterBitset &torrentStatus = m_torrentsStatus[torrent];
const auto update = [this, &torrentStatus](const TorrentFilter::Type status, const bool needStatus, int &counter)
const auto update = [&torrentStatus](const TorrentFilter::Type status, const bool needStatus, int &counter)
{
const bool hasStatus = torrentStatus[status];
if (needStatus && !hasStatus)