Skip to content

Commit 53aed2e

Browse files
committed
explicitly construct dst extents type
1 parent 86abc19 commit 53aed2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/experimental/p3242_bits/copy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void copy(
124124
mdspan<SrcElementType, SrcExtents, SrcLayoutPolicy, SrcAccessorPolicy>;
125125
using dst_type =
126126
mdspan<DstElementType, DstExtents, DstLayoutPolicy, DstAccessorPolicy>;
127-
detail::mdspan_copy_impl<src_type, dst_type>::copy_over_extents(src.extents(),
127+
detail::mdspan_copy_impl<src_type, dst_type>::copy_over_extents(DstExtents{src.extents()},
128128
src, dst);
129129
}
130130
} // namespace MDSPAN_IMPL_PROPOSED_NAMESPACE

0 commit comments

Comments
 (0)