...
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user