This commit is contained in:
Timur A. Fatkhullin
2024-11-06 00:15:20 +03:00
parent 4a20eecc02
commit 8d6e1bb59c
4 changed files with 8 additions and 4 deletions

View File

@@ -237,7 +237,7 @@ public:
auto self(this->shared_from_this());
_netService.asyncReceive(
[self, this](std::error_code ec, message_t msg) {
[self, this](netservice_t::async_callback_err_t ec, message_t msg) {
if (ec) {
stop();
} else {
@@ -249,7 +249,7 @@ public:
_netService.asyncSend(
*msg_sptr,
[self, msg_sptr, this](std::error_code ec) {
[self, msg_sptr, this](netservice_t::async_callback_err_t ec) {
if (ec) {
stop();
} else {