aboutsummaryrefslogtreecommitdiff
path: root/include/gsl/span
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsl/span')
-rw-r--r--include/gsl/span2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/span b/include/gsl/span
index b4da532..59bd121 100644
--- a/include/gsl/span
+++ b/include/gsl/span
@@ -141,7 +141,7 @@ namespace details
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)
{}