From 8629d50665fcdc8b608ee1af139af8a9fd2c3193 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 20 Jan 2010 13:19:26 +0000 Subject: [PATCH] Use const references instead of copies. git-svn-id: https://svn.dealii.org/trunk@20399 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/mesh_worker_loop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/include/numerics/mesh_worker_loop.h b/deal.II/deal.II/include/numerics/mesh_worker_loop.h index e358090f9a..e56ad9bf09 100644 --- a/deal.II/deal.II/include/numerics/mesh_worker_loop.h +++ b/deal.II/deal.II/include/numerics/mesh_worker_loop.h @@ -71,9 +71,9 @@ namespace MeshWorker typename identity::type end, CELLINFO& cellinfo, FACEINFO& bdryinfo, FACEINFO& faceinfo, FACEINFO& subfaceinfo, FACEINFO& ngbrinfo, - std_cxx1x::function cell_worker, - std_cxx1x::function boundary_worker, - std_cxx1x::function face_worker, + const std_cxx1x::function &cell_worker, + const std_cxx1x::function &boundary_worker, + const std_cxx1x::function &face_worker, bool cells_first = true) { const bool integrate_cell = (cell_worker != 0); -- 2.39.5