From 0b15a43c54eed6e64a76144176d95693c8858989 Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Thu, 11 Aug 2016 17:00:08 +0200 Subject: [PATCH] missing comma --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 0e20c42..aa1f0df 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -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)