From 402565d74ebacc95cb5e05feccfa4b59c3382d28 Mon Sep 17 00:00:00 2001 From: Juha Reunanen Date: Tue, 6 Apr 2021 05:22:05 +0300 Subject: [PATCH] F.52: Improve language just a bit (#1770) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 5b68725..054e144 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3895,7 +3895,7 @@ Unfortunately, there is no simple way to capture by reference to `const` to get ##### Example -Here, a large object (a network message) is passed to an iterative algorithm, and is it not efficient or correct to copy the message (which might not be copyable): +Here, a large object (a network message) is passed to an iterative algorithm, and it is not efficient or correct to copy the message (which might not be copyable): std::for_each(begin(sockets), end(sockets), [&message](auto& socket) {