mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
ES.2: Fix wrong code logic in the example (#1999)
This commit is contained in:
@@ -10269,7 +10269,7 @@ The more traditional and lower-level near-equivalent is longer, messier, harder
|
|||||||
is.read(s, maxstring);
|
is.read(s, maxstring);
|
||||||
res[elemcount++] = s;
|
res[elemcount++] = s;
|
||||||
}
|
}
|
||||||
nread = &elemcount;
|
*nread = elemcount;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user