diff options
Diffstat (limited to 'asl/types/span.hpp')
-rw-r--r-- | asl/types/span.hpp | 2 |
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()} { |