diff options
Diffstat (limited to 'include/gsl')
-rw-r--r-- | include/gsl/multi_span | 1 | ||||
-rw-r--r-- | include/gsl/span | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gsl/multi_span b/include/gsl/multi_span index e381861..618c95e 100644 --- a/include/gsl/multi_span +++ b/include/gsl/multi_span @@ -41,6 +41,7 @@ // turn off some warnings that are noisy about our Expects statements #pragma warning(push) #pragma warning(disable : 4127) // conditional expression is constant +#pragma warning(disable : 4702) // unreachable code #if _MSC_VER < 1910 #pragma push_macro("constexpr") diff --git a/include/gsl/span b/include/gsl/span index 0d8841b..f3a76b1 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -37,6 +37,7 @@ // turn off some warnings that are noisy about our Expects statements #pragma warning(disable : 4127) // conditional expression is constant +#pragma warning(disable : 4702) // unreachable code // blanket turn off warnings from CppCoreCheck for now // so people aren't annoyed by them when running the tool. |