]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use the workaround namespace only if we need.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Jan 2007 01:08:31 +0000 (01:08 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Jan 2007 01:08:31 +0000 (01:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@14322 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/derivative_approximation.cc

index fd60e8db2dfceb09c56b1a5e9c890737db866487..2661d11ff213fa43c384f05c2f15070e86864170 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -614,6 +614,7 @@ approximate_derivative_tensor (const DH<dim>                                &dof
 
 
 
+#ifdef DEAL_II_FUNPTR_TEMPLATE_TEMPLATE_BUG
 namespace WorkAround
 {
 // gcc 2.95 is not happy if we take the address of a template function as in
@@ -635,7 +636,7 @@ namespace WorkAround
   };
   const bool IsHP<hp::DoFHandler>::value;  
 }
-
+#endif
 
 
 template <class DerivativeDescription, 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.