aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2019-08-15 14:49:12 -0700
committerGitHub <noreply@github.com>2019-08-15 14:49:12 -0700
commitb576cc6ce375cf42f6537d65a9ef29d67aa6b78e (patch)
tree955bff4a1c7530d4833963090d3e46e8c15bd759
parent2ce3177ebdc3949c7fed5ee70cc1e959e0b9981b (diff)
parent2a1ef2540687efcf1a62c8213404b242e792bff3 (diff)
downloadplatform_external_Microsoft-GSL-b576cc6ce375cf42f6537d65a9ef29d67aa6b78e.tar.gz
platform_external_Microsoft-GSL-b576cc6ce375cf42f6537d65a9ef29d67aa6b78e.tar.bz2
platform_external_Microsoft-GSL-b576cc6ce375cf42f6537d65a9ef29d67aa6b78e.zip
Merge pull request #769 from jack17529/patch-1
Update usage of difference_type in 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)
{}