diff --git a/include/nonstd/span.hpp b/include/nonstd/span.hpp index 9a7182f..0338eab 100644 --- a/include/nonstd/span.hpp +++ b/include/nonstd/span.hpp @@ -494,6 +494,8 @@ span_DISABLE_MSVC_WARNINGS( 26439 26440 26472 26473 26481 26490 ) #if ! span_CONFIG( NO_EXCEPTIONS ) # include +#elif ! span_CONFIG_CONTRACT_VIOLATION_THROWS_V +# include #endif // Contract violation