diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index ae27ad3..1ae151b 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -10269,7 +10269,7 @@ The more traditional and lower-level near-equivalent is longer, messier, harder is.read(s, maxstring); res[elemcount++] = s; } - nread = &elemcount; + *nread = elemcount; return res; }