Skip to content

Commit 1e9dffd

Browse files
changing check function to constexpr
1 parent 8f486c9 commit 1e9dffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sam_record.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace samflags {
5555
static const uint16_t pcr_duplicate = 0x400;
5656
static const uint16_t supplementary_aln = 0x800;
5757

58-
inline bool
58+
constexpr bool
5959
check(const uint16_t to_check, const uint16_t &f) {return to_check & f;}
6060
inline void
6161
set(uint16_t &to_set, const uint16_t f) {to_set |= f;}

0 commit comments

Comments
 (0)