From 282a11de26e5e3897a8e37d76c9ed8ad73975e8d Mon Sep 17 00:00:00 2001 From: Eliyahu Ravuna Date: Fri, 27 Nov 2015 08:10:16 +0200 Subject: [PATCH] The vector was missing template arguments. Fixed Thank you for the feedback in #402. char replaced with uint8_t. --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index ff6cdd1..656b478 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9120,7 +9120,7 @@ Simple code can be very fast. Optimizers sometimes do marvels with simple code // clear expression of intent, fast execution - vector v(100000); + vector v(100000); for(auto& c : v) c = ~c; @@ -9129,7 +9129,7 @@ Simple code can be very fast. Optimizers sometimes do marvels with simple code // intended to be faster, but is actually slower - vector v(100000); + vector v(100000); for(size_t i=0; i