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 6882f40..a8d0542 100644 --- a/include/span.h +++ b/include/span.h @@ -2054,7 +2054,7 @@ general_span_iterator operator+(typename general_span_iterator::diff #pragma warning(pop) #ifndef GSL_THROWS_FOR_TESTING -#pragma undef noexcept +#undef noexcept #pragma pop_macro("noexcept") #endif // GSL_THROWS_FOR_TESTING