From 862c7d43d6b3772e18c82e1a4d8c3dfa8cbfbd83 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 21 Dec 2015 21:35:31 -0500 Subject: [PATCH] Tweak to operator-(const weeknum& x, const weeknum& y) --- iso_week.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iso_week.h b/iso_week.h index 45c326d..0f010e5 100644 --- a/iso_week.h +++ b/iso_week.h @@ -818,8 +818,8 @@ inline weeks operator-(const weeknum& x, const weeknum& y) NOEXCEPT { - return weeks{static_cast(static_cast(x) - - static_cast(y))}; + return weeks{static_cast(static_cast(x)) - + static_cast(static_cast(y))}; } CONSTCD11