]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Take over fix from main branch. (tria.cc: 1.124->1.125, tria.h: 1.105->1.106)
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 26 Feb 2001 11:02:24 +0000 (11:02 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 26 Feb 2001 11:02:24 +0000 (11:02 +0000)
git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4027 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria.h
deal.II/deal.II/source/grid/tria.cc

index a32a5b9ce2aef96eb21a519fce43654107964daf..8efd3bd745a0036a67e837b1b67754e6faced750 100644 (file)
@@ -1590,7 +1590,7 @@ class Triangulation : public TriaDimensionInfo<dim>,
                                      * default argument in
                                      * @p{set_boundary}.
                                      */
-    static const StraightBoundary<dim>& straight_boundary;
+    static const StraightBoundary<dim> straight_boundary;
 
   public:
     
index aada3a51403101517362ce560e803e1699309c9d..9401a3884fd04f1d9b24d7f94e860a47612839e7 100644 (file)
@@ -29,8 +29,8 @@
 
 
 template <int dim>
-const StraightBoundary<dim>& Triangulation<dim>::straight_boundary
-= StraightBoundary<dim>();
+const StraightBoundary<dim> Triangulation<dim>::straight_boundary;
+
 
 
 template <int dim>

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.