File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ struct boost_asio_init_promise_type
600600 asio_executor_adapter ex_ = std::move (ex);
601601 h.destroy ();
602602
603- auto handler =
603+ auto handler_ =
604604 std::apply (
605605 [&](auto ... args)
606606 {
@@ -609,8 +609,8 @@ struct boost_asio_init_promise_type
609609 args_);
610610
611611 auto exec =
612- boost::asio::get_associated_immediate_executor (handler , ex_);
613- boost::asio::dispatch (exec, std::move (handler ));
612+ boost::asio::get_associated_immediate_executor (handler_ , ex_);
613+ boost::asio::dispatch (exec, std::move (handler_ ));
614614 }
615615 void await_resume () const {}
616616 };
Original file line number Diff line number Diff line change @@ -561,16 +561,16 @@ struct boost_asio_standalone_init_promise_type
561561 asio_executor_adapter ex_ = std::move (ex);
562562 h.destroy ();
563563
564- auto handler =
564+ auto handler_ =
565565 std::apply (
566566 [&](auto ... args)
567567 {
568568 return ::asio::append (std::move (h_), std::move (args)...);
569569 },
570570 args_);
571571
572- auto exec = ::asio::get_associated_immediate_executor (handler , ex_);
573- ::asio::dispatch (exec, std::move(handler ));
572+ auto exec = ::asio::get_associated_immediate_executor (handler_ , ex_);
573+ ::asio::dispatch (exec, std::move(handler_ ));
574574 }
575575 void await_resume () const {}
576576 };
You can’t perform that action at this time.
0 commit comments