mirror of
https://github.com/transmission/transmission
synced 2025-01-30 19:03:04 +00:00
Fix ICC build error due to template argument type reduction failure
This commit is contained in:
parent
b156f55dca
commit
138ee3d7a0
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ void MainWindow::refreshActionSensitivity()
|
|||
auto const& torrents = model_.torrents();
|
||||
auto const is_paused = [](auto const* tor) { return tor->isPaused(); };
|
||||
auto const any_paused = std::any_of(std::begin(torrents), std::end(torrents), is_paused);
|
||||
auto const any_not_paused = std::any_of(std::begin(torrents), std::end(torrents), std::not_fn(is_paused));
|
||||
auto const any_not_paused = !std::all_of(std::begin(torrents), std::end(torrents), is_paused);
|
||||
|
||||
auto const have_selection = selected > 0;
|
||||
auto const have_selection_with_metadata = selected_with_metadata > 0;
|
||||
|
|
Loading…
Reference in a new issue