forked from boostorg/mqtt5
Simplify usage of subscribe options enums
Summary: related to T13606 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27679
This commit is contained in:
1 parent
46a48fb62c
commit
677e625d1a
9 files changed
+82
-86
No files matched your search
@@ -124,11 +124,11 @@ void subscribe_and_receive_websocket_tcp(int num_receive) {
|
||||
topics.push_back(subscribe_topic{
|
||||
"test/mqtt-test", {
|
||||
qos_e::exactly_once,
|
||||
subscribe_options::no_local_e::no,
|
||||
subscribe_options::retain_as_published_e::retain,
|
||||
subscribe_options::retain_handling_e::send
|
||||
no_local_e::no,
|
||||
retain_as_published_e::retain,
|
||||
retain_handling_e::send
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
c.async_subscribe(
|
||||
topics, subscribe_props{},
|
||||
|
||||
Reference in new issue
Block a user