Skip to content

Commit

Permalink
[FIX] sequence_container concept
Browse files Browse the repository at this point in the history
Used initialiser list in gcc7 instead of count,value ctor
  • Loading branch information
eseiler committed Apr 21, 2021
1 parent be93733 commit a1d535b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/seqan3/range/container/concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ SEQAN3_CONCEPT sequence_container = requires (type val, type val2, type const cv
requires container<type>;

// construction
{ type{typename type::size_type{}, typename type::value_type{}} };
{ type(typename type::size_type{}, typename type::value_type{}) };
{ type{val2.begin(), val2.end()} }; // NOTE that this could be any input iterator:
{ type{std::initializer_list<typename type::value_type>{}} };
SEQAN3_RETURN_TYPE_CONSTRAINT(val = std::initializer_list<typename type::value_type>{}, std::same_as, type &);
Expand Down

0 comments on commit a1d535b

Please sign in to comment.