From b7d171041694ea9fe9a2da6746fd01135f8ae529 Mon Sep 17 00:00:00 2001 From: Sergii Slobodianiuk Date: Sun, 22 Dec 2024 23:01:00 +0100 Subject: [PATCH] Fix P.11: Missing bug description. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 8dfd021fe..2649ce033 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1123,7 +1123,7 @@ Messy, low-level code breeds more such code. } This is low-level, verbose, and error-prone. -For example, we "forgot" to test for memory exhaustion. +For example, we "forgot" to test for memory exhaustion and assign new value to `sz`. Instead, we could use `vector`: vector v;