From: bangerth Date: Wed, 13 Feb 2013 14:43:02 +0000 (+0000) Subject: Fix syntax: if we access something with X::template member then the X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6375e666cb3cdd42709b94d1567d8abc6af24e72;p=dealii-svn.git Fix syntax: if we access something with X::template member then the '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 --- diff --git a/deal.II/source/multigrid/mg_tools.cc b/deal.II/source/multigrid/mg_tools.cc index 026398b526..1fe5ef922d 100644 --- a/deal.II/source/multigrid/mg_tools.cc +++ b/deal.II/source/multigrid/mg_tools.cc @@ -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 &, const ComponentMask &, std::vector &) - = &DoFTools::template extract_level_dofs >; + = &DoFTools::extract_level_dofs >; std::vector tmp(n_components, false); tmp[i] = true; @@ -1114,7 +1114,7 @@ namespace MGTools const DH &, const BlockMask &, std::vector &) - = &DoFTools::template extract_level_dofs; + = &DoFTools::extract_level_dofs; std::vector tmp(n_blocks, false); tmp[i] = true;