fixes pragma undef warnings in MSVC2013

This commit is contained in:
Lukas Haselsteiner 2015-11-15 23:08:35 +01:00
parent 252671257f
commit e51eb228ae
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -2038,7 +2038,7 @@ general_span_iterator<Span> operator+(typename general_span_iterator<Span>::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