Skip to content

Commit

Permalink
Clang 14 needed explicit structured binding construction
Browse files Browse the repository at this point in the history
for strided_index_range.
  • Loading branch information
crtrott committed Jan 6, 2023
1 parent f516e85 commit ce9c272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_submdspan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct TestSubMDSpan<
return std::pair<int,int>(1,3);
}
static stdex::strided_index_range<int,int,int> create_slice_arg(stdex::strided_index_range<int,int,int>) {
return stdex::strided_index_range<int,int,int>(1,3,2);
return stdex::strided_index_range<int,int,int>{1,3,2};
}
static stdex::full_extent_t create_slice_arg(stdex::full_extent_t) {
return stdex::full_extent;
Expand Down

0 comments on commit ce9c272

Please sign in to comment.