mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 21:00:53 +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:
@@ -136,7 +136,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
const auto& wire_data = publish.wire_data();
|
||||
auto wire_data = publish.wire_data();
|
||||
_svc_ptr->async_send(
|
||||
wire_data,
|
||||
_serial_num,
|
||||
@@ -266,7 +266,7 @@ public:
|
||||
}
|
||||
|
||||
void send_pubrel(control_packet<allocator_type> pubrel, bool throttled) {
|
||||
const auto& wire_data = pubrel.wire_data();
|
||||
auto wire_data = pubrel.wire_data();
|
||||
_svc_ptr->async_send(
|
||||
wire_data,
|
||||
_serial_num,
|
||||
|
Reference in New Issue
Block a user