diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index fcc9ce8..cf65aa6 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -8526,7 +8526,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; }