Skip to content

Commit 342c5e1

Browse files
authored
Merge pull request #3164 from eseiler/fix/14
[FIX] gcc14
2 parents 6d1a334 + e800a25 commit 342c5e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

include/seqan3/alphabet/quality/phred_base.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#pragma once
1414

15+
#include <algorithm>
16+
1517
#include <seqan3/alphabet/alphabet_base.hpp>
1618
#include <seqan3/alphabet/detail/convert.hpp>
1719
#include <seqan3/alphabet/quality/concept.hpp>

test/performance/search/index_construction_benchmark.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ static constexpr size_t seed{0x6126f};
2626
static void arguments(benchmark::internal::Benchmark * b)
2727
{
2828
#ifndef NDEBUG
29-
for (int32_t length : {50, 5000})
29+
constexpr std::array<int32_t, 2> values{50, 5000};
3030
#else
31-
for (int32_t length : {50, 5000, 50'000})
31+
constexpr std::array<int32_t, 3> values{50, 5000, 50'000};
3232
#endif // NDEBUG
33+
for (int32_t length : values)
3334
{
3435
if (length > max_length)
3536
throw std::logic_error{"Increase max_length to at least " + std::to_string(length)};

0 commit comments

Comments
 (0)