mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
change {} -> () in function call
at least it's consistent with prev example
This commit is contained in:
parent
ed8cd27556
commit
2801dc22d1
|
@ -3904,7 +3904,7 @@ The common action gets tedious to write and may accidentally not be common.
|
||||||
{ if (!valid(i,m,y)) throw Bad_date{}; }
|
{ if (!valid(i,m,y)) throw Bad_date{}; }
|
||||||
|
|
||||||
Date2(int ii, Month mm)
|
Date2(int ii, Month mm)
|
||||||
:Date2{ii,mm,current_year{}} {}
|
:Date2{ii,mm,current_year()} {}
|
||||||
// ...
|
// ...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user