diff --git a/include/boost/beast/websocket/impl/stream_impl.hpp b/include/boost/beast/websocket/impl/stream_impl.hpp index 8f6ef050..fca1b84a 100644 --- a/include/boost/beast/websocket/impl/stream_impl.hpp +++ b/include/boost/beast/websocket/impl/stream_impl.hpp @@ -130,8 +130,8 @@ struct stream::impl_type boost::empty_init_t{}, std::forward(args)...) , detail::service::impl_type( - this->stream().get_executor().context()) - , timer(this->stream().get_executor()) + this->boost::empty_value::get().get_executor().context()) + , timer(this->boost::empty_value::get().get_executor()) { timeout_opt.handshake_timeout = none(); timeout_opt.idle_timeout = none();