mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 12:50:54 +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:
@@ -86,7 +86,7 @@ public:
|
||||
}
|
||||
|
||||
void send_disconnect(control_packet<allocator_type> disconnect) {
|
||||
const auto& wire_data = disconnect.wire_data();
|
||||
auto wire_data = disconnect.wire_data();
|
||||
_svc_ptr->async_send(
|
||||
wire_data,
|
||||
no_serial, send_flag::terminal,
|
||||
|
Reference in New Issue
Block a user