From 342d15ce569c3e4dba5280f792ebd0b8b1239d4e Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 27 Oct 2015 11:52:31 -0400 Subject: [PATCH] Give last_spec an explicit default ctor --- date.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/date.h b/date.h index beac1ff..105531e 100644 --- a/date.h +++ b/date.h @@ -81,7 +81,10 @@ using day_point = std::chrono::time_point; // types -struct last_spec {}; +struct last_spec +{ + explicit last_spec() = default; +}; class day; class month;