From: Timo Heister Date: Mon, 13 May 2024 11:30:26 +0000 (-0400) Subject: step-72: fix warnings X-Git-Tag: v9.6.0-rc1~280^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5c77f40f17a2425b76e88796770ea4317750c77;p=dealii.git step-72: fix warnings --- diff --git a/examples/step-72/step-72.cc b/examples/step-72/step-72.cc index b1fe79105c..6072e84c38 100644 --- a/examples/step-72/step-72.cc +++ b/examples/step-72/step-72.cc @@ -383,7 +383,7 @@ namespace Step72 // in the `copy_data` instance that is passed into this function. This // `copy_data` has been filled with data during @a some call to the // `cell_worker`. - const auto copier = [dofs_per_cell, this](const CopyData ©_data) { + const auto copier = [this](const CopyData ©_data) { const FullMatrix &cell_matrix = copy_data.matrices[0]; const Vector &cell_rhs = copy_data.vectors[0]; const std::vector &local_dof_indices = @@ -592,7 +592,7 @@ namespace Step72 }; // The remainder of the function equals what we had previously: - const auto copier = [dofs_per_cell, this](const CopyData ©_data) { + const auto copier = [this](const CopyData ©_data) { const FullMatrix &cell_matrix = copy_data.matrices[0]; const Vector &cell_rhs = copy_data.vectors[0]; const std::vector &local_dof_indices = @@ -740,7 +740,7 @@ namespace Step72 // As in the previous two functions, the remainder of the function is as // before: - const auto copier = [dofs_per_cell, this](const CopyData ©_data) { + const auto copier = [this](const CopyData ©_data) { const FullMatrix &cell_matrix = copy_data.matrices[0]; const Vector &cell_rhs = copy_data.vectors[0]; const std::vector &local_dof_indices =