Skip to content

Commit 62ef7a6

Browse files
committed
fix readability-qualified-auto issue
1 parent 33a6353 commit 62ef7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multi_physics/QED/include/picsar_qed/utils/picsar_algo.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ picsar_upper_bound
4040

4141
size_t count = last-first;
4242
do{
43-
auto it = first;
43+
const auto * it = first;
4444
const auto step = count/2;
4545
it += step;
4646
if (!(val<*it)){
@@ -89,7 +89,7 @@ picsar_lower_bound
8989

9090
size_t count = last-first;
9191
do{
92-
auto it = first;
92+
const auto * it = first;
9393
const auto step = count/2;
9494
it += step;
9595
if (!(val<=*it)){

0 commit comments

Comments
 (0)