From c6071b8add145b1bc6f4013a58cd342c921e43fb Mon Sep 17 00:00:00 2001 From: Severin Meyer Date: Thu, 17 Nov 2016 13:28:15 +0100 Subject: [PATCH] CP.41: Fix typo in code example --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 0a5bf3d..8ea1b87 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12253,7 +12253,7 @@ Instead, we could have a set of pre-created worker threads processing the messag void master(istream& is) { for (Message m; is >> m; ) - work.put(n); + work.put(m); } void worker()