mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 12:50:54 +02:00
Handle all warnings on MSVC Win32
Summary: related to T13409 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27165
This commit is contained in:
@@ -196,7 +196,7 @@ public:
|
||||
encoders::encode_connect,
|
||||
_ctx.creds.client_id,
|
||||
_ctx.creds.username, _ctx.creds.password,
|
||||
10u, false, _ctx.co_props, _ctx.will_msg
|
||||
uint16_t(10), false, _ctx.co_props, _ctx.will_msg
|
||||
);
|
||||
|
||||
auto wire_data = packet.wire_data();
|
||||
@@ -204,7 +204,7 @@ public:
|
||||
detail::async_write(
|
||||
_stream, asio::buffer(wire_data),
|
||||
asio::consign(
|
||||
asio::prepend(std::move(*this), on_send_connect{}),
|
||||
asio::prepend(std::move(*this), on_send_connect {}),
|
||||
std::move(packet)
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user