From 88aca1caf3a6fdb4ce387d5ccb5efac47530e1b8 Mon Sep 17 00:00:00 2001 From: beinhaerter <34543625+beinhaerter@users.noreply.github.com> Date: Wed, 28 Nov 2018 20:57:43 +0100 Subject: [PATCH] added noexcept to get rid off VC warning con.4 (#748) --- include/gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gsl/span b/include/gsl/span index 54f5f6b..f0f7f1f 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -544,7 +544,7 @@ public: #endif // _MSC_VER private: - static bool CheckRange(index_type idx, index_type size) + static bool CheckRange(index_type idx, index_type size) noexcept { // Optimization: //