mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fixed typo in previous commit, closes #1395
This commit is contained in:
parent
85e6aef5d6
commit
9275e7da09
|
@ -13873,7 +13873,7 @@ Local static variables are a common source of data races.
|
|||
|
||||
##### Example, bad:
|
||||
|
||||
void f(fstream& fs, regex pat)
|
||||
void f(fstream& fs, regex pattern)
|
||||
{
|
||||
array<double, max> buf;
|
||||
int sz = read_vec(fs, buf, max); // read from fs into buf
|
||||
|
|
Loading…
Reference in New Issue
Block a user