Skip to content

Commit

Permalink
Add missing Extent = dynamic_extent to Vc::span
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kretz <kretz@kde.org>
  • Loading branch information
mattkretz committed Oct 11, 2018
1 parent ffb2c84 commit 8689aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vc/common/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ span(const Container&)->span<const typename Container::value_type>;
* float_v y = view[indexes][&Point::y];
* \endcode
*/
template <typename T, ptrdiff_t Extent>
template <typename T, ptrdiff_t Extent = dynamic_extent>
using span = Common::AdaptSubscriptOperator<Common::span<T, Extent>>;

namespace Traits
Expand Down

0 comments on commit 8689aca

Please sign in to comment.