Skip to content

Commit

Permalink
enforce const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Jun 25, 2024
1 parent 68353e2 commit e13af44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/EmbeddedBoundary/WarpXFaceInfoBox.H
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct FaceInfoBox {
{Neighbours::n , {0 ,-1}}, {Neighbours::s, {0 ,1}},
{Neighbours::ne, {1 ,-1}}, {Neighbours::e, {1 ,0}}, {Neighbours::se, {1 ,1}}};

auto [i,j] = m_neig_to_i_j.at(mask);
const auto [i,j] = m_neig_to_i_j.at(mask);
return amrex::Array1D<int, 0, 1>{i, j};
}
};
Expand Down

0 comments on commit e13af44

Please sign in to comment.