From ebce4920d66816f8c9addb288cfe67bef41f07a2 Mon Sep 17 00:00:00 2001 From: Neil MacIntosh Date: Tue, 2 Aug 2016 16:22:18 -0700 Subject: [PATCH] Fixed #308 - a mismatched pragma. --- include/span.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/span.h b/include/span.h index a612983..b7a3d77 100644 --- a/include/span.h +++ b/include/span.h @@ -2221,10 +2221,13 @@ general_span_iterator operator+(typename general_span_iterator::diff #undef noexcept #ifdef _MSC_VER -#pragma warning(pop) #pragma pop_macro("noexcept") #endif #endif // GSL_THROW_ON_CONTRACT_VIOLATION +#ifdef _MSC_VER +#pragma warning(pop) +#endif + #endif // GSL_SPAN_H