mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
remove pragma pop for constexpr macro
This commit is contained in:
parent
853b061141
commit
478d876951
@ -2247,11 +2247,6 @@ general_span_iterator<Span> operator+(typename general_span_iterator<Span>::diff
|
|||||||
} // namespace gsl
|
} // namespace gsl
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(__clang__)
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
#if _MSC_VER < 1910
|
|
||||||
|
|
||||||
#undef constexpr
|
|
||||||
#pragma pop_macro("constexpr")
|
|
||||||
#endif // _MSC_VER < 1910
|
|
||||||
|
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
|
||||||
|
@ -285,11 +285,4 @@ struct hash<gsl::strict_not_null<T>>
|
|||||||
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
|
|
||||||
|
|
||||||
#undef constexpr
|
|
||||||
#pragma pop_macro("constexpr")
|
|
||||||
|
|
||||||
#endif // defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
|
|
||||||
|
|
||||||
#endif // GSL_POINTERS_H
|
#endif // GSL_POINTERS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user