From 6c7be2c8ee2052f17bcfb43d9e97b28f32840283 Mon Sep 17 00:00:00 2001 From: Neil MacIntosh Date: Mon, 1 Aug 2016 21:41:20 -0700 Subject: [PATCH] clang-format run. --- include/span.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/include/span.h b/include/span.h index 004afc7..a5d2823 100644 --- a/include/span.h +++ b/include/span.h @@ -302,7 +302,7 @@ namespace details }; template - class span_iterator + class span_iterator { public: using iterator_category = std::random_access_iterator_tag; @@ -378,10 +378,7 @@ namespace details return ret -= n; } - constexpr span_iterator& operator-=(difference_type n) noexcept - { - return *this += -n; - } + constexpr span_iterator& operator-=(difference_type n) noexcept { return *this += -n; } constexpr difference_type operator-(const span_iterator& rhs) const noexcept { @@ -515,7 +512,7 @@ public: using reference = element_type&; using iterator = details::span_iterator>; - using const_iterator = details::const_span_iterator>; + using const_iterator = details::const_span_iterator>; using reverse_iterator = std::reverse_iterator; using const_reverse_iterator = std::reverse_iterator;