From decb03dba53fe856c574c3ad7048d6bf0735a0b3 Mon Sep 17 00:00:00 2001 From: Vitalii Orazov Date: Wed, 8 Oct 2025 13:38:51 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20error:=20=E2=80=98terminate=E2=80=99=20is?= =?UTF-8?q?=20not=20a=20member=20of=20=E2=80=98std=E2=80=99=20for=20C++11?= =?UTF-8?q?=20&=20C++14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/nonstd/span.hpp | 2 ++ 1 file changed, 2 insertions(+) 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