Skip to content

Commit

Permalink
[MISC] make write parameters const.
Browse files Browse the repository at this point in the history
  • Loading branch information
smehringer committed Dec 9, 2019
1 parent a746c4f commit 112aaf1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions include/seqan3/io/alignment_file/format_bam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ class format_bam : private detail::format_sam_base
[[maybe_unused]] seq_type && seq,
[[maybe_unused]] qual_type && qual,
[[maybe_unused]] id_type && id,
[[maybe_unused]] int32_t offset,
[[maybe_unused]] int32_t const offset,
[[maybe_unused]] ref_seq_type && SEQAN3_DOXYGEN_ONLY(ref_seq),
[[maybe_unused]] ref_id_type && ref_id,
[[maybe_unused]] std::optional<int32_t> ref_offset,
[[maybe_unused]] align_type && align,
[[maybe_unused]] cigar_type && cigar_vector,
[[maybe_unused]] sam_flag const flag,
[[maybe_unused]] uint8_t mapq,
[[maybe_unused]] uint8_t const mapq,
[[maybe_unused]] mate_type && mate,
[[maybe_unused]] tag_dict_type && tag_dict,
[[maybe_unused]] double SEQAN3_DOXYGEN_ONLY(e_value),
Expand Down Expand Up @@ -604,14 +604,14 @@ inline void format_bam::write_alignment_record([[maybe_unused]] stream_type & s
[[maybe_unused]] seq_type && seq,
[[maybe_unused]] qual_type && qual,
[[maybe_unused]] id_type && id,
[[maybe_unused]] int32_t offset,
[[maybe_unused]] int32_t const offset,
[[maybe_unused]] ref_seq_type && SEQAN3_DOXYGEN_ONLY(ref_seq),
[[maybe_unused]] ref_id_type && ref_id,
[[maybe_unused]] std::optional<int32_t> ref_offset,
[[maybe_unused]] align_type && align,
[[maybe_unused]] cigar_type && cigar_vector,
[[maybe_unused]] sam_flag const flag,
[[maybe_unused]] uint8_t mapq,
[[maybe_unused]] uint8_t const mapq,
[[maybe_unused]] mate_type && mate,
[[maybe_unused]] tag_dict_type && tag_dict,
[[maybe_unused]] double SEQAN3_DOXYGEN_ONLY(e_value),
Expand Down
8 changes: 4 additions & 4 deletions include/seqan3/io/alignment_file/format_sam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,14 @@ class format_sam : private detail::format_sam_base
seq_type && seq,
qual_type && qual,
id_type && id,
int32_t offset,
int32_t const offset,
ref_seq_type && SEQAN3_DOXYGEN_ONLY(ref_seq),
ref_id_type && ref_id,
std::optional<int32_t> ref_offset,
align_type && align,
std::vector<cigar> const & cigar_vector,
sam_flag const flag,
uint8_t mapq,
uint8_t const mapq,
mate_type && mate,
tag_dict_type && tag_dict,
e_value_type && SEQAN3_DOXYGEN_ONLY(e_value),
Expand Down Expand Up @@ -645,14 +645,14 @@ inline void format_sam::write_alignment_record(stream_type & stream,
seq_type && seq,
qual_type && qual,
id_type && id,
int32_t offset,
int32_t const offset,
ref_seq_type && SEQAN3_DOXYGEN_ONLY(ref_seq),
ref_id_type && ref_id,
std::optional<int32_t> ref_offset,
align_type && align,
std::vector<cigar> const & cigar_vector,
sam_flag const flag,
uint8_t mapq,
uint8_t const mapq,
mate_type && mate,
tag_dict_type && tag_dict,
e_value_type && SEQAN3_DOXYGEN_ONLY(e_value),
Expand Down

0 comments on commit 112aaf1

Please sign in to comment.