mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
committed by
GitHub
parent
502b3d3228
commit
850da9dd83
@@ -3003,7 +3003,7 @@ void SessionImpl::invokeAsync(std::function<void ()> func)
|
||||
bool SessionImpl::downloadMetadata(const TorrentDescriptor &torrentDescr)
|
||||
{
|
||||
Q_ASSERT(!torrentDescr.info().has_value());
|
||||
if (Q_UNLIKELY(torrentDescr.info().has_value()))
|
||||
if (torrentDescr.info().has_value()) [[unlikely]]
|
||||
return false;
|
||||
|
||||
const InfoHash infoHash = torrentDescr.infoHash();
|
||||
|
||||
Reference in New Issue
Block a user