From: bangerth Date: Wed, 17 Jan 2007 01:08:31 +0000 (+0000) Subject: Use the workaround namespace only if we need. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc6adfb7138730e7c0c90499999b10676c6be29;p=dealii-svn.git Use the workaround namespace only if we need. git-svn-id: https://svn.dealii.org/trunk@14322 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/derivative_approximation.cc b/deal.II/deal.II/source/numerics/derivative_approximation.cc index fd60e8db2d..2661d11ff2 100644 --- a/deal.II/deal.II/source/numerics/derivative_approximation.cc +++ b/deal.II/deal.II/source/numerics/derivative_approximation.cc @@ -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 &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::value; } - +#endif template