mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-07-31 04:57:33 +02:00
Fix initialization
Summary: related to T12015 Reviewers: iljazovic Reviewed By: iljazovic Subscribers: miljen Differential Revision: https://repo.mireo.local/D27664
This commit is contained in:
@ -71,7 +71,7 @@ void run_test(
|
||||
error_code expected_ec, const std::string& topic,
|
||||
const subscribe_props& sprops = {}, const connack_props& cprops = {}
|
||||
) {
|
||||
auto sub_topic = subscribe_topic(topic, subscribe_options());
|
||||
auto sub_topic = subscribe_topic { topic, subscribe_options() };
|
||||
return run_test(
|
||||
expected_ec,
|
||||
std::vector<subscribe_topic> { std::move(sub_topic) },
|
||||
|
Reference in New Issue
Block a user