aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/alspan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/alspan.h b/common/alspan.h
index d5e42324..341ce7c8 100644
--- a/common/alspan.h
+++ b/common/alspan.h
@@ -314,7 +314,7 @@ template<typename T, std::size_t N>
span(const std::array<T, N>&) -> span<const T, N>;
template<typename C, REQUIRES(detail_::is_valid_container_type<C>)>
-span(C&&) -> span<std::remove_reference_t<decltype(*std::data(std::declval<C&>()))>>;
+span(C&&) -> span<std::remove_pointer_t<decltype(std::data(std::declval<C&>()))>>;
#undef REQUIRES