mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
update for asio 1.30
Change-Id: Iac5a8f965eb5211f3016946c5f4eee5b34f748f7
This commit is contained in:
@ -233,8 +233,8 @@ void
|
||||
RoutingTableTest::needSocketCallBack(const std::shared_ptr<SwarmManager>& sm)
|
||||
{
|
||||
sm->needSocketCb_ = [this, wsm = std::weak_ptr<SwarmManager>(sm)](const std::string& nodeId,
|
||||
auto&& onSocket) {
|
||||
Manager::instance().ioContext()->post([this, wsm, nodeId, onSocket = std::move(onSocket)] {
|
||||
auto&& onSocket) mutable {
|
||||
asio::post(*Manager::instance().ioContext(), [this, wsm, nodeId, onSocket = std::move(onSocket)] {
|
||||
auto sm = wsm.lock();
|
||||
if (!sm || sm->isShutdown())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user