diff --git a/include/continuable/detail/traverse-async.hpp b/include/continuable/detail/traverse-async.hpp index 5e05159..07a7326 100644 --- a/include/continuable/detail/traverse-async.hpp +++ b/include/continuable/detail/traverse-async.hpp @@ -231,7 +231,8 @@ struct static_async_range { } template - constexpr auto relocate() const noexcept { + constexpr auto relocate(std::integral_constant) const + noexcept { return static_async_range{target_}; } @@ -422,8 +423,8 @@ public: template void async_traverse_static_async_range( std::integer_sequence, Current&& current) { - int dummy[] = {0, ((void)async_traverse_one_checked( - current.template relocate()), + int dummy[] = {0, (async_traverse_one_checked(current.relocate( + std::integral_constant{})), 0)...}; (void)dummy; (void)current;