missing comma

This commit is contained in:
Thibault Kruse 2016-08-11 17:00:08 +02:00
parent dc683521ee
commit 0b15a43c54

View File

@ -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)