]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix syntax: if we access something with X::template member<T> then the
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 14:43:02 +0000 (14:43 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 14:43:02 +0000 (14:43 +0000)
'template' keyword is only necessary if X is a class. This is no longer the
case for X=DoFTools.

git-svn-id: https://svn.dealii.org/trunk@28371 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/multigrid/mg_tools.cc

index 026398b526aca9d88580526be5dbafb508ea84b3..1fe5ef922d226d0a5d912108667cdb0e8ba6d7d2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -994,7 +994,7 @@ namespace MGTools
                                  const DoFHandler<dim,spacedim> &,
                                  const ComponentMask &,
                                  std::vector<bool> &)
-                  = &DoFTools::template extract_level_dofs<DoFHandler<dim,spacedim> >;
+                  = &DoFTools::extract_level_dofs<DoFHandler<dim,spacedim> >;
 
                 std::vector<bool> tmp(n_components, false);
                 tmp[i] = true;
@@ -1114,7 +1114,7 @@ namespace MGTools
                              const DH &,
                              const BlockMask &,
                              std::vector<bool> &)
-              = &DoFTools::template extract_level_dofs<DH>;
+              = &DoFTools::extract_level_dofs<DH>;
 
             std::vector<bool> tmp(n_blocks, false);
             tmp[i] = true;

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.