From c61b99730570d0ff6b910b63806e1e88ccafe6c6 Mon Sep 17 00:00:00 2001 From: Andrew Pardoe Date: Thu, 24 Sep 2015 07:23:13 -0700 Subject: [PATCH] Fixed comments after pulling PR #85 --- CppCoreGuidelines.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 1857e58..dc4c00c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -7196,6 +7196,8 @@ This will copy each elements of `vs` into `s`. Better // do work } +**Example, bad**: + int i = 0; while (i < vec.size()) { // do work