From 582ae8c87f938bee43222596d0561eb578c3d82c Mon Sep 17 00:00:00 2001 From: Vincent Isambart Date: Sat, 13 Aug 2016 10:15:59 +0900 Subject: [PATCH] Fix #323 - Badly positioned noexcept --- gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsl/span b/gsl/span index 3b8318d..1dc4600 100644 --- a/gsl/span +++ b/gsl/span @@ -179,7 +179,7 @@ namespace details using pointer = std::add_pointer_t; using reference = std::add_lvalue_reference_t; - constexpr span_iterator() : span_iterator(nullptr, 0) noexcept {} + constexpr span_iterator() noexcept : span_iterator(nullptr, 0) {} constexpr span_iterator(const Span* span, typename Span::index_type index) : span_(span), index_(index)