Skip to content

Commit

Permalink
Fix const to quiet clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Mar 8, 2024
1 parent 82e1f5f commit fd90834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boundary_conditions/incflo_set_bcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ incflo::make_BC_MF(int lev, amrex::Gpu::DeviceVector<amrex::BCRec> const& bcs,
Box blo = mfi.growntilebox() & dlo;
Box bhi = mfi.growntilebox() & dhi;
Array4<int> const& bc_arr = BC_MF->array(mfi);
const auto bc_ptr = bcs.data();
auto const bc_ptr = bcs.data();
if (m_bc_type[olo] == BC::mixed) {
prob_set_BC_MF(olo, blo, bc_arr, lev, inflow, outflow, field);
} else {
Expand Down

0 comments on commit fd90834

Please sign in to comment.