mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fix example in ES.26 section
This commit is contained in:
@@ -6936,7 +6936,7 @@ If `leak==true` the object pointer to by `p2` is leaked and the object pointed t
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<20; ++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.
|
**Enforcement**: Flag recycled variables.
|
||||||
|
|||||||
Reference in New Issue
Block a user