Skip to content

Commit

Permalink
Merge pull request #5619 from gassmoeller/fix_warnings
Browse files Browse the repository at this point in the history
Fix compiler warnings
  • Loading branch information
tjhei authored Apr 2, 2024
2 parents fac7826 + 8c211f5 commit 34b25d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/simulator/stokes_matrix_free.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ namespace aspect
{
const auto &pbs = sim.geometry_model->get_periodic_boundary_pairs();

for (const auto p: pbs)
for (const auto &p: pbs)
{
DoFTools::make_periodicity_constraints(dof_handler_v,
p.first.first, // first boundary id
Expand Down Expand Up @@ -2403,7 +2403,7 @@ namespace aspect
{
const auto &pbs = sim.geometry_model->get_periodic_boundary_pairs();

for (const auto p: pbs)
for (const auto &p: pbs)
{
DoFTools::make_periodicity_constraints(dof_handler_p,
p.first.first, // first boundary id
Expand Down

0 comments on commit 34b25d8

Please sign in to comment.