From 7abfc981982fc882230bccc8b27c3545f27e236a Mon Sep 17 00:00:00 2001 From: Galik Date: Tue, 30 May 2017 16:09:09 +0100 Subject: [PATCH] GSL_NOEXCEPT should appear before the initialization list (#514) --- include/gsl/span | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsl/span b/include/gsl/span index 2063958..0d8841b 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -143,8 +143,8 @@ namespace details span_iterator() = default; - constexpr span_iterator(const Span* span, typename Span::index_type index) - : span_(span), index_(index) GSL_NOEXCEPT + constexpr span_iterator(const Span* span, typename Span::index_type index) GSL_NOEXCEPT + : span_(span), index_(index) { Expects(span == nullptr || (index_ >= 0 && index <= span_->length())); }