From 3d4e860bddd97be290fb3860b55562c85ea36fbe Mon Sep 17 00:00:00 2001 From: Florian Behrens Date: Fri, 17 Nov 2017 16:20:09 +0100 Subject: [PATCH] Fixed comment in example code of F.54 (#1082) --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index b5a98b2..1d87305 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3835,9 +3835,9 @@ It's confusing. Writing `[=]` in a member function appears to capture by value, // [=,this] and [&,this] are not much better, and confusing x = 42; - lambda(); // calls use(42); + lambda(); // calls use(0, 42); x = 43; - lambda(); // calls use(43); + lambda(); // calls use(0, 43); // ...