From: janssen Date: Sun, 6 Nov 2011 15:47:04 +0000 (+0000) Subject: use a static cast here, that is safer X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b02d1ab074d6640be4cd834edb694c0992f152;p=dealii-svn.git use a static cast here, that is safer git-svn-id: https://svn.dealii.org/trunk@24731 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/block_info.cc b/deal.II/source/dofs/block_info.cc index 904002bca3..59e0811bea 100644 --- a/deal.II/source/dofs/block_info.cc +++ b/deal.II/source/dofs/block_info.cc @@ -59,7 +59,7 @@ void BlockInfo::initialize(const MGDoFHandler& dof, bool levels_only) { if (!levels_only) - initialize((DoFHandler&) dof); + initialize(static_cast&>(dof)); std::vector > sizes (dof.get_tria().n_levels()); for (unsigned int i=0; i