diff --git a/include/gsl.h b/include/gsl.h index e20ac69..bcaf57a 100644 --- a/include/gsl.h +++ b/include/gsl.h @@ -219,7 +219,7 @@ namespace std #pragma warning(pop) #ifndef GSL_THROWS_FOR_TESTING -#pragma undef noexcept +#undef noexcept #endif // GSL_THROWS_FOR_TESTING #endif // _MSC_VER <= 1800 diff --git a/include/span.h b/include/span.h index be7e74f..a8cd899 100644 --- a/include/span.h +++ b/include/span.h @@ -2038,7 +2038,7 @@ general_span_iterator operator+(typename general_span_iterator::diff #pragma warning(pop) #ifndef GSL_THROWS_FOR_TESTING -#pragma undef noexcept +#undef noexcept #endif // GSL_THROWS_FOR_TESTING #undef GSL_MSVC_HAS_VARIADIC_CTOR_BUG