From 2238007823a6efa5dac88219ad5c0b548ea9ab7c Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 23 Sep 2015 16:28:48 -0300 Subject: [PATCH] Fix example in ES.26 section --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f28366f..2fcef52 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6936,7 +6936,7 @@ If `leak==true` the object pointer to by `p2` is leaked and the object pointed t { int i; for (i=0; i<20; ++i) { /* ... */ } - for (i=0; i<200; ++) { /* ... */ } // bad: i recycled + for (i=0; i<200; ++i) { /* ... */ } // bad: i recycled } **Enforcement**: Flag recycled variables.