]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
use a static cast here, that is safer
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Nov 2011 15:47:04 +0000 (15:47 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 6 Nov 2011 15:47:04 +0000 (15:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@24731 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/block_info.cc

index 904002bca3dd6d834817f19ab7e6c61102895c4b..59e0811bead9f9912bf24f6826b74324f15a301a 100644 (file)
@@ -59,7 +59,7 @@ void
 BlockInfo::initialize(const MGDoFHandler<dim, spacedim>& dof, bool levels_only)
 {
   if (!levels_only)
-    initialize((DoFHandler<dim, spacedim>&) dof);
+    initialize(static_cast<const DoFHandler<dim, spacedim>&>(dof));
 
   std::vector<std::vector<unsigned int> > sizes (dof.get_tria().n_levels());
   for (unsigned int i=0; i<sizes.size(); ++i)

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.