mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 04:40:55 +02:00
control_packet::wire_data() returns std::string_view
Summary: related to T13332 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27099
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
||||
10u, false, _ctx.co_props, _ctx.will_msg
|
||||
);
|
||||
|
||||
const auto& wire_data = packet.wire_data();
|
||||
auto wire_data = packet.wire_data();
|
||||
|
||||
detail::async_write(
|
||||
_stream, asio::buffer(wire_data),
|
||||
@@ -349,7 +349,7 @@ public:
|
||||
reason_codes::continue_authentication.value(), props
|
||||
);
|
||||
|
||||
const auto& wire_data = packet.wire_data();
|
||||
auto wire_data = packet.wire_data();
|
||||
|
||||
detail::async_write(
|
||||
_stream, asio::buffer(wire_data),
|
||||
|
Reference in New Issue
Block a user