forked from boostorg/mqtt5
Handle all MSVC warnings
Summary: related to T13409 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27152
This commit is contained in:
+2
-2
@@ -18,11 +18,11 @@ void publish_qos0_tcp() {
|
||||
client_type c(ioc, "");
|
||||
|
||||
connect_props props;
|
||||
props[prop::maximum_packet_size] = 1024;
|
||||
props[prop::maximum_packet_size] = int16_t(1024);
|
||||
|
||||
c.credentials("test-qos0-tcp", "", "")
|
||||
.brokers("emqtt.mireo.local", 1883)
|
||||
.will({ "test/mqtt-test", "Client disconnected!",qos_e::at_least_once })
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.connect_properties(std::move(props))
|
||||
.run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user