mirror of
https://github.com/microsoft/GSL.git
synced 2025-04-21 16:55:32 -04: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…
x
Reference in New Issue
Block a user