Skip to content

Commit 291cd3c

Browse files
committed
const-correctness
1 parent c7ab30c commit 291cd3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/align_simd.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ auto aligncolumns_first(VECTOR_SHORT * Sm,
608608
VECTOR_SHORT E;
609609
VECTOR_SHORT HE;
610610
VECTOR_SHORT HF;
611-
VECTOR_SHORT * vp = nullptr;
611+
VECTOR_SHORT const * vp = nullptr;
612612

613613
VECTOR_SHORT h_min = v_zero;
614614
VECTOR_SHORT h_max = v_zero;
@@ -770,7 +770,7 @@ auto aligncolumns_rest(VECTOR_SHORT * Sm,
770770
VECTOR_SHORT E;
771771
VECTOR_SHORT HE;
772772
VECTOR_SHORT HF;
773-
VECTOR_SHORT * vp = nullptr;
773+
VECTOR_SHORT const * vp = nullptr;
774774

775775
VECTOR_SHORT h_min = v_zero;
776776
VECTOR_SHORT h_max = v_zero;
@@ -924,7 +924,7 @@ auto backtrack16(s16info_s * s,
924924
unsigned short * dirbuffer = s->dir;
925925
uint64_t const dirbuffersize = s->qlen * s->maxdlen * 4;
926926
uint64_t const qlen = s->qlen;
927-
char * qseq = s->qseq;
927+
char const * qseq = s->qseq;
928928

929929
uint64_t const maskup = 3ULL << (2 * channel + 0);
930930
uint64_t const maskleft = 3ULL << (2 * channel + 16);

0 commit comments

Comments
 (0)