]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile with older compilers.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 20:56:51 +0000 (20:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 20:56:51 +0000 (20:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@24276 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/grid_tools.h

index 3e32d1f13242da4f1ed4f7309ed8bf34afa0c6b4..917736ad395531984100f2874ea971ea788d38a4 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -76,7 +76,7 @@ class GridTools
     template <int dim, int spacedim>
     static
     double volume (const Triangulation<dim,spacedim> &tria,
-                  const Mapping<dim,spacedim> &mapping = StaticMappingQ1<dim,spacedim>::mapping);
+                  const Mapping<dim,spacedim> &mapping = (StaticMappingQ1<dim,spacedim>::mapping));
     
                                     /**
                                      * Given a list of vertices (typically

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.