mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
missing comma
This commit is contained in:
parent
dc683521ee
commit
0b15a43c54
|
@ -4945,7 +4945,7 @@ To avoid repetition and accidental differences.
|
|||
int y;
|
||||
public:
|
||||
Date(int ii, Month mm, year yy)
|
||||
:i{ii}, m{mm} y{yy}
|
||||
:i{ii}, m{mm}, y{yy}
|
||||
{ if (!valid(i, m, y)) throw Bad_date{}; }
|
||||
|
||||
Date(int ii, Month mm)
|
||||
|
@ -4964,7 +4964,7 @@ The common action gets tedious to write and may accidentally not be common.
|
|||
int y;
|
||||
public:
|
||||
Date2(int ii, Month mm, year yy)
|
||||
:i{ii}, m{mm} y{yy}
|
||||
:i{ii}, m{mm}, y{yy}
|
||||
{ if (!valid(i, m, y)) throw Bad_date{}; }
|
||||
|
||||
Date2(int ii, Month mm)
|
||||
|
|
Loading…
Reference in New Issue
Block a user