Fix UE5 compilation errors.
This commit is contained in:
parent
8ed715e633
commit
7bbbbecaba
|
@ -46,7 +46,7 @@ namespace tcp {
|
|||
/// is closed.
|
||||
template <typename FunctorT1, typename FunctorT2>
|
||||
void Listen(FunctorT1 on_session_opened, FunctorT2 on_session_closed) {
|
||||
boost::asio::post(_io_context, [=]() {
|
||||
boost::asio::post(_io_context, [=, this]() {
|
||||
OpenSession(
|
||||
_timeout,
|
||||
std::move(on_session_opened),
|
||||
|
|
Loading…
Reference in New Issue