diff --git a/tests/test_asio.h b/tests/test_asio.h index 7e446987..2361610a 100644 --- a/tests/test_asio.h +++ b/tests/test_asio.h @@ -119,20 +119,20 @@ struct execution_context : asio::execution_context { void on_work_finished() const {} - template - void dispatch(Function&& f, std::allocator) const { + template + void dispatch(Function&& f, Allocator&&) const { assert_has_impl(); return impl_->dispatch(wrap_shared(std::forward(f))); } - template - void post(Function&& f, std::allocator) const { + template + void post(Function&& f, Allocator&&) const { assert_has_impl(); return impl_->post(wrap_shared(std::forward(f))); } - template - void defer(Function&& f, std::allocator) const { + template + void defer(Function&& f, Allocator&&) const { assert_has_impl(); return impl_->defer(wrap_shared(std::forward(f))); }