]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not use 'typename' outside templates. 3193/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:20:41 +0000 (14:20 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:20:41 +0000 (14:20 -0600)
tests/bits/find_cell_12.cc

index 74d5249a79428cf92c40ed2d2ff8b57634844348..39c21d0aefb2afa8e6cef64f1461516b9b9849b0 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2003 - 2015 by the deal.II authors
+// Copyright (C) 2003 - 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -64,7 +64,7 @@ void test()
                                             right_top,
                                             true);
 
-  typename Triangulation<2>::active_cell_iterator
+  Triangulation<2>::active_cell_iterator
   cell = triangulation.begin_active(),
   endc = triangulation.end();
   for (; cell!=endc; ++cell)
@@ -82,7 +82,7 @@ void test()
   std::cout << "Checking Point " << test_point << std::endl;
   try
     {
-      std::pair<typename Triangulation<2>::active_cell_iterator, Point<2> > current_cell =
+      std::pair<Triangulation<2>::active_cell_iterator, Point<2> > current_cell =
         GridTools::find_active_cell_around_point(MappingQGeneric<2>(1), triangulation, test_point);
 
       deallog << "cell: index = " << current_cell.first->index()

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.