Examples require tracked

This commit is contained in:
Richard Hodges
2020-07-04 08:22:57 +02:00
parent de1e63c597
commit a9b5bf343d
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ int main(int argc, char* argv[])
// Building a tracked executor ensures that the underlying context's
// run() function will not return until the tracked executor is destroyed
net::any_io_executor work =
net::prefer(
net::require(
ioc.get_executor(),
net::execution::outstanding_work.tracked);