diff --git a/include/date/date.h b/include/date/date.h index 027a5a4..81ca2d0 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -1564,7 +1564,7 @@ inline month operator+(const month& x, const months& y) NOEXCEPT { - auto const mu = static_cast(static_cast(x)) + (y.count() - 1); + auto const mu = static_cast(static_cast(x)) + y.count() - 1; auto const yr = (mu >= 0 ? mu : mu-11) / 12; return month{static_cast(mu - yr * 12 + 1)}; }