diff --git a/include/wjr/span.hpp b/include/wjr/span.hpp index cbf43f99..a5d46f6d 100644 --- a/include/wjr/span.hpp +++ b/include/wjr/span.hpp @@ -101,12 +101,12 @@ class span { constexpr explicit span(It first, It last) : storage(to_address(first), static_cast(last - first)) {} - template (&)[N], - element_type>::value, - int> = 0> - constexpr span(std::type_identity_t (&arr)[N]) noexcept + template (&)[N], + element_type>::value, + int> = 0> + constexpr span(type_identity_t (&arr)[N]) noexcept : storage(std::data(arr), N) {} template < @@ -239,7 +239,7 @@ class span { } constexpr span - subspan(size_type Offset, size_type Count = std::dynamic_extent) const { + subspan(size_type Offset, size_type Count = dynamic_extent) const { WJR_ASSERT(Offset <= size()); return {begin() + Offset, Count == dynamic_extent ? size() - Offset : Count}; diff --git a/include/wjr/tp/list.hpp b/include/wjr/tp/list.hpp index a069235b..d5fcc776 100644 --- a/include/wjr/tp/list.hpp +++ b/include/wjr/tp/list.hpp @@ -1,7 +1,7 @@ #ifndef WJR_TP_LIST_HPP__ #define WJR_TP_LIST_HPP__ -#include +#include namespace wjr {