mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #769 from jack17529/patch-1
Update usage of difference_type in span
This commit is contained in:
commit
b576cc6ce3
@ -141,7 +141,7 @@ namespace details
|
|||||||
|
|
||||||
span_iterator() = default;
|
span_iterator() = default;
|
||||||
|
|
||||||
constexpr span_iterator(const Span* span, typename Span::index_type idx) noexcept
|
constexpr span_iterator(const Span* span, difference_type idx) noexcept
|
||||||
: span_(span), index_(idx)
|
: span_(span), index_(idx)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user