Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[FIX] Change constexpr test
gcc11 complains suddenly
  • Loading branch information
eseiler committed Sep 29, 2023
commit 64dc64b58f53df7d3da2c09e94259e89c7ccfb8c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ struct dummy_view

TEST(adaptor_combination, constexpr_combine)
{
[[maybe_unused]] constexpr auto adaptor1 = seqan3::detail::adaptor_for_view_without_args<dummy_view>{};
[[maybe_unused]] constexpr auto adaptor2 = seqan3::detail::adaptor_for_view_without_args<dummy_view>{};

EXPECT_TRUE((SEQAN3_IS_CONSTEXPR(adaptor1 | adaptor2)));
constexpr auto adaptor1 = seqan3::detail::adaptor_for_view_without_args<dummy_view>{};
constexpr auto adaptor2 = seqan3::detail::adaptor_for_view_without_args<dummy_view>{};
[[maybe_unused]] static constinit auto combined = adaptor1 | adaptor2;
}