mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 21:00:53 +02:00
fix tests
Summary: related to T12015 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D26693
This commit is contained in:
@@ -165,9 +165,9 @@ int main(int argc, char** argv) {
|
||||
.brokers("mqtt.broker", 1883)
|
||||
.run();
|
||||
|
||||
asio::co_spawn(ioc.get_executor(), coroutine(c), asio::detached);
|
||||
co_spawn(ioc.get_executor(), coroutine(c), asio::detached);
|
||||
// or...
|
||||
asio::co_spawn(ioc.get_executor(), nothrow_coroutine(c), asio::detached);
|
||||
co_spawn(ioc.get_executor(), nothrow_coroutine(c), asio::detached);
|
||||
|
||||
ioc.run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user