fix for default completion tokens on Boost 1.87.0

Reviewers: ivica

Reviewed By: ivica

Subscribers: korina, miljen

Differential Revision: https://repo.mireo.local/D33181
This commit is contained in:
Bruno Iljazovic
2025-01-14 14:13:23 +01:00
parent afc270f10e
commit 9a0d41b7a7
3 changed files with 21 additions and 12 deletions

View File

@ -111,7 +111,7 @@ public:
}
void operator()(std::array<std::size_t, 3> /* ord */) {
_handler.complete(asio::error::operation_aborted);
_handler.complete(make_error_code(asio::error::operation_aborted));
}
};

View File

@ -66,7 +66,8 @@ public:
/// The client type when rebound to the specified executor.
using other = mqtt_client<
typename detail::rebind_executor<StreamType, Executor>::other,
TlsContext
TlsContext,
LoggerType
>;
};