From ed05442c11b4d249f0157bff3704aa006c53255c Mon Sep 17 00:00:00 2001 From: maier Date: Mon, 16 Dec 2013 18:02:35 +0000 Subject: [PATCH] Define the constructor of LoopControl within the class so that it is emitted as a weak symbol git-svn-id: https://svn.dealii.org/trunk@32030 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/meshworker/loop.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/deal.II/include/deal.II/meshworker/loop.h b/deal.II/include/deal.II/meshworker/loop.h index f1d638527e..6595f91d94 100644 --- a/deal.II/include/deal.II/meshworker/loop.h +++ b/deal.II/include/deal.II/meshworker/loop.h @@ -79,7 +79,11 @@ namespace MeshWorker /** * Constructor. */ - LoopControl(); + LoopControl() + : own_cells(true), ghost_cells(false), + faces_to_ghost(LoopControl::one), own_faces(LoopControl::one) + { + } /** * Loop over cells owned by this process. Defaults to true. @@ -134,11 +138,6 @@ namespace MeshWorker bool operator() (const ITERATOR& cell, bool is_level) const; }; - LoopControl::LoopControl() - : own_cells(true), ghost_cells(false), - faces_to_ghost(LoopControl::one), own_faces(LoopControl::one) - { - } template bool LoopControl::operator() (const ITERATOR& cell, unsigned int face, bool is_level) const -- 2.39.5