From: bangerth Date: Sun, 21 Aug 2011 03:56:48 +0000 (+0000) Subject: Explicitly use two template arguments even if one is defaulted. Clang X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7f85fa162542d62d3979b319752c02bb69da57f;p=dealii-svn.git Explicitly use two template arguments even if one is defaulted. Clang trips over this otherwise (incorrectly so, but it's easy to work around anyway). git-svn-id: https://svn.dealii.org/trunk@24146 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/tria_boundary.cc b/deal.II/source/grid/tria_boundary.cc index cf835fe6d0..6b4a049a11 100644 --- a/deal.II/source/grid/tria_boundary.cc +++ b/deal.II/source/grid/tria_boundary.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 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 @@ -476,7 +476,7 @@ template <> void StraightBoundary<1>:: get_normals_at_vertices (const Triangulation<1>::face_iterator &, - Boundary<1>::FaceVertexNormals &) const + Boundary<1,1>::FaceVertexNormals &) const { Assert (false, ExcImpossibleInDim(1)); } @@ -496,7 +496,7 @@ template <> void StraightBoundary<2>:: get_normals_at_vertices (const Triangulation<2>::face_iterator &face, - Boundary<2>::FaceVertexNormals &face_vertex_normals) const + Boundary<2,2>::FaceVertexNormals &face_vertex_normals) const { const Tensor<1,2> tangent = face->vertex(1) - face->vertex(0); for (unsigned int vertex=0; vertex::vertices_per_face; ++vertex)