From 61e62436eac2a18514907436962b0f9acb06f42a Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Thu, 23 Jul 2020 11:27:13 +1000 Subject: [PATCH] Ensure traits specialisations are correctly enabled for the bulk_execute adapter. --- asio/include/asio/execution/detail/bulk_sender.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/asio/include/asio/execution/detail/bulk_sender.hpp b/asio/include/asio/execution/detail/bulk_sender.hpp index 11869f64..c1f6de4d 100644 --- a/asio/include/asio/execution/detail/bulk_sender.hpp +++ b/asio/include/asio/execution/detail/bulk_sender.hpp @@ -159,7 +159,7 @@ struct bulk_sender : sender_base } // namespace execution namespace traits { -#if !defined(ASIO_HAS_DEDUCED_SET_VALUE_TRAIT) +#if !defined(ASIO_HAS_DEDUCED_SET_VALUE_MEMBER_TRAIT) template struct set_value_member< @@ -171,9 +171,9 @@ struct set_value_member< typedef void result_type; }; -#endif // !defined(ASIO_HAS_DEDUCED_SET_VALUE_TRAIT) +#endif // !defined(ASIO_HAS_DEDUCED_SET_VALUE_MEMBER_TRAIT) -#if !defined(ASIO_HAS_DEDUCED_SET_VALUE_TRAIT) +#if !defined(ASIO_HAS_DEDUCED_SET_ERROR_MEMBER_TRAIT) template @@ -186,9 +186,9 @@ struct set_error_member< typedef void result_type; }; -#endif // !defined(ASIO_HAS_DEDUCED_SET_VALUE_TRAIT) +#endif // !defined(ASIO_HAS_DEDUCED_SET_ERROR_MEMBER_TRAIT) -#if !defined(ASIO_HAS_DEDUCED_SET_DONE_TRAIT) +#if !defined(ASIO_HAS_DEDUCED_SET_DONE_MEMBER_TRAIT) template struct set_done_member< @@ -199,7 +199,7 @@ struct set_done_member< typedef void result_type; }; -#endif // !defined(ASIO_HAS_DEDUCED_SET_DONE_TRAIT) +#endif // !defined(ASIO_HAS_DEDUCED_SET_DONE_MEMBER_TRAIT) #if !defined(ASIO_HAS_DEDUCED_CONNECT_MEMBER_TRAIT)