]> https://gitweb.dealii.org/ - dealii.git/commitdiff
More modern compilers want a "typename" in places.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Mar 2005 06:41:53 +0000 (06:41 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Mar 2005 06:41:53 +0000 (06:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@10120 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/multigrid.templates.h

index 164e9001169e791e975ea04b3950caa830ae0ff7..c8031571393aab719603d63302abf8a1693d8589 100644 (file)
@@ -29,7 +29,7 @@ Multigrid<VECTOR>::Multigrid (const unsigned int minlevel,
                              const MGTransferBase<VECTOR>& transfer,
                              const MGSmootherBase<VECTOR>& pre_smooth,
                              const MGSmootherBase<VECTOR>& post_smooth,
-                             Multigrid<VECTOR>::Cycle cycle)
+                             typename Multigrid<VECTOR>::Cycle cycle)
                :
                cycle_type(cycle),
                minlevel(minlevel),
@@ -89,7 +89,7 @@ Multigrid<VECTOR>::set_minlevel(unsigned int l,
 
 template <class VECTOR>
 void
-Multigrid<VECTOR>::set_cycle(Multigrid<VECTOR>::Cycle c)
+Multigrid<VECTOR>::set_cycle(typename Multigrid<VECTOR>::Cycle c)
 {
   cycle_type = c;
 }

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.