Sign in
gwj
/
asio_examples
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Snippets
Download as
Email Patches
Plain Diff
Browse Code »
Commit
6df4a4a7bd5525f1cf4deeed301864322f6ca6ee
Authored by
Grzegorz Jabłoński
2021-03-13 14:15:53 +0100
1 parent
e694fce0
Updated timer example
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
04-timer5.cpp
04-timer5.cpp
View file @
6df4a4a
...
...
@@ -71,7 +71,6 @@ int main()
71
71
{
72
72
asio::io_context io;
73
73
printer p(io);
74
-// std::thread t(std::bind(&asio::io_context::run, &io));
75
74
std::thread t([&io]{io.run();});
76
75
io.run();
77
76
t.join();
...
...