fix compile issue

This commit is contained in:
halx99 2020-02-03 22:01:18 +08:00
parent a350f4be88
commit 1b33d88416
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void yasioTest()
if (--max_request_count > 0)
{
udpconn_delay.expires_from_now(std::chrono::seconds(1));
udpconn_delay.async_wait([&](bool) { service.open(0, YCM_SSL_CLIENT); });
udpconn_delay.async_wait([&]() { service.open(0, YCM_SSL_CLIENT); });
}
else
service.stop_service();