summaryrefslogtreecommitdiff
path: root/asl/types/span.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-12 00:08:18 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-12 00:08:18 +0100
commitc8b73031d8a9f7770410c9d0e6da5b230e501e85 (patch)
treed458e28d72da3d343446fc8a6a6d92b3776c560a /asl/types/span.hpp
parentaf4e29f8c071b089fb46b5d8b964dd2b1fb3f57a (diff)
Remove convertible_from
Diffstat (limited to 'asl/types/span.hpp')
-rw-r--r--asl/types/span.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asl/types/span.hpp b/asl/types/span.hpp
index bb2257a..8585f17 100644
--- a/asl/types/span.hpp
+++ b/asl/types/span.hpp
@@ -95,7 +95,7 @@ public:
kIsDynamic ||
is_dynamic(kOtherSize) ||
kOtherSize == kSize
- ) && convertible_from<T(&)[], U(&)[]>
+ ) && convertible_to<U(&)[], T(&)[]>
)
: span{static_cast<U*>(other.data()), other.size()}
{