From: Daniel Arndt Date: Tue, 27 Apr 2021 20:19:36 +0000 (-0400) Subject: Move DistortedCellList destructor to source/grid/tria.cc X-Git-Tag: v9.3.0-rc1~170^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d8c23ad2ceb179d512cccfc6458084ceb9ed3c;p=dealii.git Move DistortedCellList destructor to source/grid/tria.cc --- diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index d84a0c4c4f..9fbe2107da 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1532,12 +1532,7 @@ public: * automatically generated destructor would have a different one due to * member objects. */ -#ifdef __INTEL_COMPILER - virtual ~DistortedCellList() noexcept override - {} -#else - virtual ~DistortedCellList() noexcept override = default; -#endif + virtual ~DistortedCellList() noexcept override; /** * A list of those cells among the coarse mesh cells that are deformed or diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 2995dc9025..e2dd694c26 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -15246,6 +15246,12 @@ Triangulation::memory_consumption() const } + +template +Triangulation::DistortedCellList::~DistortedCellList() noexcept = + default; + + // explicit instantiations #include "tria.inst"