Fix build

Summary: related to T15996

Reviewers: iljazovic

Reviewed By: iljazovic

Subscribers: miljen

Differential Revision: https://repo.mireo.local/D33388
This commit is contained in:
Korina Šimičević
2025-01-27 10:31:57 +01:00
parent b42014f379
commit 4df9dbbb07
7 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ boost::asio::awaitable<void> publish_sensor_readings(
auto&& [ec, rc, props] = co_await client.async_publish<boost::mqtt5::qos_e::at_least_once>(
"async-mqtt5/test" /* topic */, reading /* payload */,
boost::mqtt5::retain_e::no, boost::mqtt5::publish_props {}, use_nothrow_awaitable
);
);
// An error can occur as a result of:
// a) wrong publish parameters
// b) mqtt_client::cancel is called while the Client is publishing the message