From c01b5b0e325708f775983c68214af34da92b9a04 Mon Sep 17 00:00:00 2001 From: Matthias 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