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:
Korina Šimičević
2024-01-02 16:01:56 +01:00
parent 794c72cb44
commit bf81ab5ee7
10 changed files with 41 additions and 31 deletions

View File

@@ -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)
)
);