From e5c69d84ab5db3e06170b8eedec1d87841c7fb22 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 9 Apr 2018 11:01:58 -0400 Subject: [PATCH] Fix constexpr issue for VS2015 --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/date/date.h b/include/date/date.h index 69c1f88..a9620cb 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -4316,7 +4316,7 @@ operator<<(std::basic_ostream& os, const local_time& ut // to_stream -constexpr year nanyear{-32768}; +CONSTDATA year nanyear{-32768}; template struct fields