From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Sun, 26 Nov 2023 17:23:13 +0000 (-0700)
Subject: Make FEValuesViews::* objects movable.
X-Git-Tag: relicensing~279^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16298%2Fhead;p=dealii.git

Make FEValuesViews::* objects movable.
---

diff --git a/include/deal.II/fe/fe_values_views.h b/include/deal.II/fe/fe_values_views.h
index c9b6745af3..2de5def53c 100644
--- a/include/deal.II/fe/fe_values_views.h
+++ b/include/deal.II/fe/fe_values_views.h
@@ -548,13 +548,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The single scalar component this view represents of the FEValuesBase
      * object.
      */
-    const unsigned int component;
+    unsigned int component;
 
     /**
      * Store the data about shape functions.
@@ -1271,13 +1271,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_vector_component;
+    unsigned int first_vector_component;
 
     /**
      * Store the data about shape functions.
@@ -1584,13 +1584,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_tensor_component;
+    unsigned int first_tensor_component;
 
     /**
      * Store the data about shape functions.
@@ -1958,13 +1958,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_tensor_component;
+    unsigned int first_tensor_component;
 
     /**
      * Store the data about shape functions.