]> https://gitweb.dealii.org/ - dealii.git/commit
pass std::function by const reference 5286/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 20 Oct 2017 21:01:47 +0000 (17:01 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 20 Oct 2017 21:02:01 +0000 (17:02 -0400)
commitc77d4ff74f7c6728745b3b291c937aeb3bbfc2dd
treec2587ff9703278e4d6d657213cc8585819d31200
parent933696eb7499090bdce6b296c3c53502439c6a0f
pass std::function by const reference

I think a std::function should be passed by const reference, unless we
are planning on storing a copy (then by value and move).
include/deal.II/base/thread_management.h
include/deal.II/base/time_stepping.h
include/deal.II/base/time_stepping.templates.h
include/deal.II/distributed/grid_tools.h
include/deal.II/numerics/vector_tools.h
include/deal.II/numerics/vector_tools.templates.h
source/numerics/vector_tools_project_qp.inst.in
source/numerics/vector_tools_project_qpmf.inst.in

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.