mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
CP.41: Fix typo in code example
This commit is contained in:
parent
09d76d93fc
commit
c6071b8add
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user