mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
CP.41: Fix typo in code example
This commit is contained in:
@@ -12253,7 +12253,7 @@ Instead, we could have a set of pre-created worker threads processing the messag
|
|||||||
void master(istream& is)
|
void master(istream& is)
|
||||||
{
|
{
|
||||||
for (Message m; is >> m; )
|
for (Message m; is >> m; )
|
||||||
work.put(n);
|
work.put(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
void worker()
|
void worker()
|
||||||
|
|||||||
Reference in New Issue
Block a user