Fix ICC build error due to template argument type reduction failure

This commit is contained in:
Mike Gelfand 2020-09-08 18:09:16 +03:00
parent b156f55dca
commit 138ee3d7a0
1 changed files with 1 additions and 1 deletions

View File

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