Skip to content

Commit

Permalink
[FIX] Change constexpr test
Browse files Browse the repository at this point in the history
gcc11 complains suddenly
  • Loading branch information
eseiler committed Sep 28, 2023
1 parent 70dde5f commit b0aa2e6
Showing 1 changed file with 3 additions and 4 deletions.
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>{};
static constinit auto combined = adaptor1 | adaptor2;
}

0 comments on commit b0aa2e6

Please sign in to comment.