Skip to content

Commit 2801dc2

Browse files
change {} -> () in function call
at least it's consistent with prev example
1 parent ed8cd27 commit 2801dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3904,7 +3904,7 @@ The common action gets tedious to write and may accidentally not be common.
39043904
{ if (!valid(i,m,y)) throw Bad_date{}; }
39053905

39063906
Date2(int ii, Month mm)
3907-
:Date2{ii,mm,current_year{}} {}
3907+
:Date2{ii,mm,current_year()} {}
39083908
// ...
39093909
};
39103910

0 commit comments

Comments
 (0)