mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
remove msvc < 1910 checks as those versions are no longer supported.
This commit is contained in:
parent
301030310e
commit
853b061141
@ -50,11 +50,6 @@
|
|||||||
#pragma warning(disable : 26465) // TODO: bug - suppression does not work on template functions
|
#pragma warning(disable : 26465) // TODO: bug - suppression does not work on template functions
|
||||||
#pragma warning(disable : 4996) // use of function or classes marked [[deprecated]]
|
#pragma warning(disable : 4996) // use of function or classes marked [[deprecated]]
|
||||||
|
|
||||||
#if _MSC_VER < 1910
|
|
||||||
#pragma push_macro("constexpr")
|
|
||||||
#define constexpr /*constexpr*/
|
|
||||||
|
|
||||||
#endif // _MSC_VER < 1910
|
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
|
||||||
#if defined(__GNUC__) || defined(__clang__)
|
#if defined(__GNUC__) || defined(__clang__)
|
||||||
|
@ -25,12 +25,6 @@
|
|||||||
#include <system_error> // for hash
|
#include <system_error> // for hash
|
||||||
#include <type_traits> // for enable_if_t, is_convertible, is_assignable
|
#include <type_traits> // for enable_if_t, is_convertible, is_assignable
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
|
|
||||||
#pragma push_macro("constexpr")
|
|
||||||
#define constexpr /*constexpr*/
|
|
||||||
|
|
||||||
#endif // defined(_MSC_VER) && _MSC_VER < 1910
|
|
||||||
|
|
||||||
namespace gsl
|
namespace gsl
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user