From: Matthias Maier Date: Sat, 11 May 2019 22:32:00 +0000 (-0500) Subject: change value to reference X-Git-Tag: v9.1.0-rc1~48^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab0ce98232960b0ada8880ed7810f079add70220;p=dealii.git change value to reference --- diff --git a/examples/step-6/step-6.cc b/examples/step-6/step-6.cc index 7f7f9ee82c..f7086ecde5 100644 --- a/examples/step-6/step-6.cc +++ b/examples/step-6/step-6.cc @@ -284,7 +284,7 @@ void Step6::assemble_system() std::vector local_dof_indices(dofs_per_cell); - for (const auto cell : dof_handler.active_cell_iterators()) + for (const auto &cell : dof_handler.active_cell_iterators()) { cell_matrix = 0; cell_rhs = 0;