GSL_NOEXCEPT should appear before the initialization list (#514)

This commit is contained in:
Galik 2017-05-30 16:09:09 +01:00 committed by Neil MacIntosh
parent 39902b6ec0
commit 7abfc98198

View File

@ -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()));
}