Skip to content

Commit be890f3

Browse files
committed
fair enough, clang
1 parent c162ee3 commit be890f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgfa.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class RGFACover {
126126
const string* name;
127127
int64_t trav_idx;
128128
pair<int64_t, int64_t> fragment;
129-
bool operator<(const RankedFragment& f2) {
129+
bool operator<(const RankedFragment& f2) const {
130130
// note: name comparison is flipped because we want to select high coverage / low name
131131
return this->coverage < f2.coverage || (this->coverage == f2.coverage && *this->name > *f2.name);
132132
}

0 commit comments

Comments
 (0)