From 5a449f4bd8b6bbac9c79ec498930b5d774e13688 Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Mon, 28 Sep 2015 23:57:30 +0200 Subject: [PATCH] bad char instead of minus --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index dc48c4e..adacc6e 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -10712,7 +10712,7 @@ Pointers should only refer to single objects, and pointer arithmetic is fragile a[4] = 1; // OK - a[count – 1] = 2; // OK + a[count - 1] = 2; // OK use(a.data(), 3); // OK }