Tidy testing for _MSC_VER

This commit is contained in:
Gabriel Dos Reis 2015-09-21 03:09:33 -07:00
parent 4573197546
commit 65655da087

View File

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