commit | 96b90937c06bae67066cf58a04e36dadb13b8bf9 | [log] [tgz] |
---|---|---|
author | Christopher Kohlhoff <chris@kohlhoff.com> | Fri Aug 14 22:39:58 2020 +1000 |
committer | Christopher Kohlhoff <chris@kohlhoff.com> | Fri Aug 14 22:39:58 2020 +1000 |
tree | 803d1313aae51183a2e163aeebc27319b1353722 | |
parent | fb120b0a8195593df21602511b875684513156ae [diff] |
Require that execute() work with const executors, as per specification.
diff --git a/asio/include/asio/execution/executor.hpp b/asio/include/asio/execution/executor.hpp index 558f6c4..1072b94 100644 --- a/asio/include/asio/execution/executor.hpp +++ b/asio/include/asio/execution/executor.hpp
@@ -59,7 +59,7 @@ template <typename T, typename F> struct is_executor_of_impl : conditional< - can_execute<T, F>::value, + can_execute<const T, F>::value, is_executor_of_impl_base<T, F>, false_type >::type