mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Tidy testing for _MSC_VER
This commit is contained in:
parent
4573197546
commit
65655da087
@ -52,12 +52,10 @@
|
|||||||
|
|
||||||
#endif // _NOEXCEPT
|
#endif // _NOEXCEPT
|
||||||
|
|
||||||
#if _MSC_VER
|
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||||
#if _MSC_VER <= 1800
|
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable: 4351) // warns about newly introduced aggregate initializer behavior
|
#pragma warning(disable: 4351) // warns about newly introduced aggregate initializer behavior
|
||||||
#endif // _MSC_VER <= 1800
|
#endif // _MSC_VER <= 1800
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace Guide {
|
namespace Guide {
|
||||||
|
|
||||||
@ -2283,10 +2281,8 @@ general_array_view_iterator<ArrayView> operator+(typename general_array_view_ite
|
|||||||
|
|
||||||
} // namespace Guide
|
} // namespace Guide
|
||||||
|
|
||||||
#if _MSC_VER
|
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||||
#if _MSC_VER <= 1800
|
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif // _MSC_VER <= 1800
|
#endif // _MSC_VER <= 1800
|
||||||
#endif
|
|
||||||
|
|
||||||
#pragma pop_macro("_NOEXCEPT")
|
#pragma pop_macro("_NOEXCEPT")
|
||||||
|
Loading…
Reference in New Issue
Block a user