diff --git a/include/date/date.h b/include/date/date.h index be50b42..9902b0c 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -1880,6 +1880,7 @@ weekday_indexed::ok() const NOEXCEPT #ifdef __GNUC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wconversion" +#endif // __GNUC__ CONSTCD11 inline @@ -1888,6 +1889,7 @@ weekday_indexed::weekday_indexed(const date::weekday& wd, unsigned index) NOEXCE , index_(static_cast(index)) {} +#ifdef __GNUC__ # pragma GCC diagnostic pop #endif // __GNUC__