Skip to content

Commit

Permalink
return to noexcept because not using type-erased scheduler with throw…
Browse files Browse the repository at this point in the history
…ing copy
  • Loading branch information
kirkshoop committed Sep 2, 2021
1 parent b3c1809 commit 7da8e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sudoku.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ struct any_solve_scheduler;

using Queries =
with_receiver_queries<
overload<static_thread_pool::scheduler(const this_&)>(unifex::get_scheduler),
overload<static_thread_pool::scheduler(const this_&) noexcept>(unifex::get_scheduler),
overload<inplace_stop_token(const this_&) noexcept>(get_stop_token)>;

using any_solve = Queries::any_sender_of<>;
Expand Down

0 comments on commit 7da8e79

Please sign in to comment.