Skip to content

Commit f7d1181

Browse files
authored
Fix P.11: Missing bug description. (#2245)
1 parent 6864a9f commit f7d1181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ Messy, low-level code breeds more such code.
11231123
}
11241124

11251125
This is low-level, verbose, and error-prone.
1126-
For example, we "forgot" to test for memory exhaustion.
1126+
For example, we "forgot" to test for memory exhaustion and assign new value to `sz`.
11271127
Instead, we could use `vector`:
11281128

11291129
vector<int> v;

0 commit comments

Comments
 (0)