From 25ff7eca1fc66ff2f0dc71d8aafe1939f57490a6 Mon Sep 17 00:00:00 2001 From: Neil MacIntosh Date: Sun, 29 May 2016 13:54:19 -0700 Subject: [PATCH] Removed some redundant parens. --- include/span.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/span.h b/include/span.h index f0edafa..187f948 100644 --- a/include/span.h +++ b/include/span.h @@ -254,9 +254,7 @@ span_iterator operator+(typename span_iterator::difference_type n, template span_iterator operator-(typename span_iterator::difference_type n, const span_iterator& rhs) noexcept -{ - return rhs - n; -} +{ return rhs - n; } } // namespace details @@ -289,7 +287,7 @@ public: {} constexpr span(pointer ptr, index_type count) : storage_(ptr, count) - { Expects(((!ptr && count == 0) || (ptr && count >= 0))); } + { Expects((!ptr && count == 0) || (ptr && count >= 0)); } constexpr span(pointer firstElem, pointer lastElem) : storage_(firstElem, std::distance(firstElem, lastElem))