mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
GSL_NOEXCEPT should appear before the initialization list (#514)
This commit is contained in:
parent
39902b6ec0
commit
7abfc98198
@ -143,8 +143,8 @@ namespace details
|
|||||||
|
|
||||||
span_iterator() = default;
|
span_iterator() = default;
|
||||||
|
|
||||||
constexpr span_iterator(const Span* span, typename Span::index_type index)
|
constexpr span_iterator(const Span* span, typename Span::index_type index) GSL_NOEXCEPT
|
||||||
: span_(span), index_(index) GSL_NOEXCEPT
|
: span_(span), index_(index)
|
||||||
{
|
{
|
||||||
Expects(span == nullptr || (index_ >= 0 && index <= span_->length()));
|
Expects(span == nullptr || (index_ >= 0 && index <= span_->length()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user