mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
P.9: Fix typo in code example
This commit is contained in:
@@ -943,7 +943,7 @@ There are several more performance bugs and gratuitous complication.
|
||||
|
||||
void lower(zstring s)
|
||||
{
|
||||
for (int i = 0; i < strlen(s); ++s) s[i] = tolower(s[i]);
|
||||
for (int i = 0; i < strlen(s); ++i) s[i] = tolower(s[i]);
|
||||
}
|
||||
|
||||
Yes, this is an example from production code.
|
||||
|
||||
Reference in New Issue
Block a user