mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #46 from vendethiel/patch-2
fix indexing typo in ES.2.
This commit is contained in:
@@ -6391,7 +6391,7 @@ The more traditional and lower-level near-equivalent is longer, messier, harder
|
||||
while (is && elemcount<maxelem) {
|
||||
auto s = new char[maxstring];
|
||||
is.read(s,maxstring);
|
||||
res[elemcount++= = s;
|
||||
res[elemcount++] = s;
|
||||
}
|
||||
nread = elemcount;
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user