Skip to content

Commit 1e73b88

Browse files
committed
use references instead of pointers
1 parent 7f276bf commit 1e73b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alignment/seqregions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,9 +2360,9 @@ auto cmaple::SeqRegions::containAtLeastNMuts(const int min_mut) const
23602360
// loop over the vector of regions
23612361
for (auto i = 0; i < size(); ++i)
23622362
{
2363-
const auto* const seq_region = &(at(i));
2363+
const SeqRegion& seq_region = at(i);
23642364

2365-
if (seq_region->type < num_states)
2365+
if (seq_region.type < num_states)
23662366
{
23672367
++count_mutations;
23682368

0 commit comments

Comments
 (0)