]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around a problem with the Intel icc 10.1 compiler.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 23 Feb 2009 04:37:55 +0000 (04:37 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 23 Feb 2009 04:37:55 +0000 (04:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@18412 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_values.cc

index 0f06613d7aa6d9a02bba84f43e0b6ad96a42ba35..f70ba8aa1c4208c51b711d1daeb62690c0c7679d 100644 (file)
@@ -795,8 +795,8 @@ namespace internal
       scalars.resize (n_scalars);
       for (unsigned int component=0; component<n_scalars; ++component)
        {
-         scalars[component].
-           dealii::FEValuesViews::Scalar<dim,spacedim>::~Scalar ();
+         typedef dealii::FEValuesViews::Scalar<dim,spacedim> ScalarView;
+         scalars[component].ScalarView::~ScalarView ();
          new (&scalars[component])
            dealii::FEValuesViews::Scalar<dim,spacedim>(fe_values,
                                                        component);
@@ -808,8 +808,8 @@ namespace internal
       vectors.resize (n_vectors);
       for (unsigned int component=0; component<n_vectors; ++component)
        {
-         vectors[component].
-           dealii::FEValuesViews::Vector<dim,spacedim>::~Vector ();
+         typedef dealii::FEValuesViews::Vector<dim,spacedim> VectorView;
+         vectors[component].VectorView::~VectorView ();
          new (&vectors[component])
            dealii::FEValuesViews::Vector<dim,spacedim>(fe_values,
                                                        component);

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.