]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unnecessary 'typename'. 2986/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 18 Aug 2016 18:38:53 +0000 (12:38 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 18 Aug 2016 18:38:53 +0000 (12:38 -0600)
This also avoids a resulting error with older versions of GCC.

source/grid/cell_id.inst.in

index f601a0809bb9a05b5b03478d3e9f0bf49935682b..137c1a5faf8a4e54c7f18d5bf779d93f149e638a 100644 (file)
@@ -18,6 +18,6 @@
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS)
 {
 #if deal_II_dimension <= deal_II_space_dimension
-    template typename Triangulation<deal_II_dimension,deal_II_space_dimension>::cell_iterator CellId::to_cell(const Triangulation<deal_II_dimension,deal_II_space_dimension> &tria) const;
+    template Triangulation<deal_II_dimension,deal_II_space_dimension>::cell_iterator CellId::to_cell(const Triangulation<deal_II_dimension,deal_II_space_dimension> &tria) const;
 #endif
 }

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.