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: //