From 4ec7058b560b0767222fdba9c0f114ebcd58db87 Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Mon, 3 Feb 2020 18:31:21 -0800 Subject: [PATCH] Update include/gsl/span Co-Authored-By: Casey Carter --- include/gsl/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gsl/span b/include/gsl/span index 170c746..09a10a9 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -263,7 +263,7 @@ namespace details std::enable_if_t, value_type>::value, int> = 0> constexpr bool operator>(const span_iterator& rhs) const noexcept { - return !(*this < rhs); + return rhs < *this; } template <