From: Daniel Arndt Date: Tue, 22 Sep 2020 18:33:09 +0000 (-0400) Subject: Fix clang-tidy complains X-Git-Tag: v9.3.0-rc1~1083^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10950%2Fhead;p=dealii.git Fix clang-tidy complains --- diff --git a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h index 3814c31af6..1a34963d87 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -1289,7 +1289,7 @@ namespace internal }); } - for (const auto fe_index_pair : fe_index_pairs) + for (const auto &fe_index_pair : fe_index_pairs) { transfer.schemes[fe_index_pair.second].dofs_per_cell_coarse = dof_handler_coarse.get_fe(fe_index_pair.first.first).dofs_per_cell; @@ -1340,7 +1340,7 @@ namespace internal std::vector> local_dof_indices_fine(fe_index_pairs.size()); - for (const auto fe_index_pair : fe_index_pairs) + for (const auto &fe_index_pair : fe_index_pairs) { local_dof_indices_coarse[fe_index_pair.second].resize( transfer.schemes[fe_index_pair.second].dofs_per_cell_coarse);