Skip to content

Commit

Permalink
extend anonymous namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Feb 19, 2025
1 parent 62d0162 commit 3c72286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fastq_chars.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ constexpr long int char_max = std::numeric_limits<char>::max();

constexpr unsigned int n_characters = 256;

// anonymous namespace: limit visibility and usage to this translation unit
namespace {

struct statistics {
std::vector<uint64_t> sequence_chars;
std::vector<uint64_t> quality_chars;
Expand All @@ -93,9 +96,6 @@ struct statistics {
};


// anonymous namespace: limit visibility and usage to this translation unit
namespace {

auto guess_quality_offset(struct statistics & stats) -> void {
static constexpr auto lowerbound = ';'; // char 59 (-5 to offset +64)
static constexpr auto upperbound = 'K'; // char 75 (+1 after offset +33 normal range)
Expand Down

0 comments on commit 3c72286

Please sign in to comment.