]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid const reference to temporary 7121/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 26 Aug 2018 10:46:54 +0000 (12:46 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 26 Aug 2018 10:50:41 +0000 (12:50 +0200)
source/grid/grid_tools_dof_handlers.cc

index 132fe14ed078149187d7172ce07b7110ef73f9cd..1882e6e985904581a09fc20270b18c96bb338315 100644 (file)
@@ -1003,7 +1003,7 @@ namespace GridTools
         const std::pair<Point<spacedim>, double> &cell_enclosing_ball =
           cell->enclosing_ball();
 
-        const Point<spacedim> &cell_enclosing_ball_center =
+        const Point<spacedim> cell_enclosing_ball_center =
           cell_enclosing_ball.first;
         const double cell_enclosing_ball_radius = cell_enclosing_ball.second;
 

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.