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))