]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make `hp::FEValuesBase` derive from `Subscriptor`. 12391/head
authorMarc Fehling <mafehling.git@gmail.com>
Sat, 5 Jun 2021 03:30:45 +0000 (21:30 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 6 Jun 2021 21:44:01 +0000 (15:44 -0600)
include/deal.II/hp/fe_values.h
source/hp/fe_values.cc

index b07d3009e9c71b11285d5de3e67c843f5afbf80f..0456fbddcd2e9b870f7d0f5c572ef1c1d4813dee 100644 (file)
@@ -66,7 +66,7 @@ namespace hp
    * @ingroup hp
    */
   template <int dim, int q_dim, class FEValuesType>
-  class FEValuesBase
+  class FEValuesBase : public Subscriptor
   {
   public:
     /**
index e026c61790e5f6ae787493d9a60dc7c23055479d..51e40fe29bea5582bf37687bb4f69523f55808f8 100644 (file)
@@ -135,7 +135,8 @@ namespace hp
   template <int dim, int q_dim, class FEValuesType>
   FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
     const FEValuesBase<dim, q_dim, FEValuesType> &other)
-    : fe_collection(other.fe_collection)
+    : Subscriptor(other)
+    , fe_collection(other.fe_collection)
     , mapping_collection(other.mapping_collection)
     , q_collection(other.q_collection)
     , q_collections(other.q_collections)

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.