From 9b2b07d8f3f0dccd48c26cf903a9d6ec60b14a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Sun, 20 Mar 2016 19:06:21 +0100 Subject: [PATCH] Updated comments after updating variable names --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 95eabd9..638bc9e 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9610,7 +9610,7 @@ Explicit `move` is needed to explicitly move an object to another scope, notably { X x; sink(x); // error: cannot bind an lvalue to a rvalue reference - sink(std::move(x)); // OK: sink takes the contents of r, r must now assumed to be empty + sink(std::move(x)); // OK: sink takes the contents of x, x must now be assumed to be empty // ... use(x); // probably a mistake }