From e51eb228ae54e1674da14a73b84541f791ea57f7 Mon Sep 17 00:00:00 2001 From: Lukas Haselsteiner Date: Sun, 15 Nov 2015 23:08:35 +0100 Subject: [PATCH] fixes pragma undef warnings in MSVC2013 --- include/gsl.h | 2 +- include/span.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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