forked from microsoft/GSL
Merge pull request #310 from neilmacintosh/dev/neilmac/fix_mismatched_pragma
Fixed #308 - a mismatched pragma.
This commit is contained in:
+4
-1
@@ -814,10 +814,13 @@ as_writeable_bytes(span<ElementType, Extent> s) noexcept
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user