mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 18:17:08 -07:00
commit
2bfaa8229a
7 changed files with 41 additions and 36 deletions
|
@ -91,7 +91,7 @@ namespace
|
|||
out.reserve(priorities.size());
|
||||
|
||||
std::transform(priorities.cbegin(), priorities.cend()
|
||||
, std::back_inserter(out), [](BitTorrent::DownloadPriority priority)
|
||||
, std::back_inserter(out), [](const DownloadPriority priority)
|
||||
{
|
||||
return static_cast<lt::download_priority_t>(
|
||||
static_cast<LTUnderlyingType<lt::download_priority_t>>(priority));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue