From: Matthias Maier Date: Mon, 16 Dec 2013 18:02:35 +0000 (+0000) Subject: Define the constructor of LoopControl within the class so that it is emitted as a... X-Git-Tag: v8.2.0-rc1~1180 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01b5b0e325708f775983c68214af34da92b9a04;p=dealii.git 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 --- 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