]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move DistortedCellList destructor to source/grid/tria.cc 12100/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 27 Apr 2021 20:19:36 +0000 (16:19 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 27 Apr 2021 20:22:26 +0000 (16:22 -0400)
include/deal.II/grid/tria.h
source/grid/tria.cc

index d84a0c4c4f3122afdf8638bfd483ed134dbc8482..9fbe2107da83d7ccd695ef8e3ce062dc4e9fccf6 100644 (file)
@@ -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
index 2995dc9025fd38bce197dc99a5db06aa878efb5a..e2dd694c26f557dc6b3524d404758b5377f6d2c1 100644 (file)
@@ -15246,6 +15246,12 @@ Triangulation<dim, spacedim>::memory_consumption() const
 }
 
 
+
+template <int dim, int spacedim>
+Triangulation<dim, spacedim>::DistortedCellList::~DistortedCellList() noexcept =
+  default;
+
+
 // explicit instantiations
 #include "tria.inst"
 

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.