From: Jean-Paul Pelteret Date: Thu, 1 Feb 2018 18:03:14 +0000 (+0100) Subject: Remove a typedef thats unused when compiling in release mode. X-Git-Tag: v9.0.0-rc1~484^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5841%2Fhead;p=dealii.git Remove a typedef thats unused when compiling in release mode. Fixes 5840. --- diff --git a/source/hp/dof_handler.cc b/source/hp/dof_handler.cc index 168570ac95..01c0c7d428 100644 --- a/source/hp/dof_handler.cc +++ b/source/hp/dof_handler.cc @@ -599,12 +599,10 @@ namespace internal { const unsigned int dim = 1; - typedef DoFHandler BaseClass; - Assert (dof_handler.finite_elements != nullptr, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.finite_elements->size() > 0, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.tria->n_levels() > 0, ExcMessage("The current Triangulation must not be empty.")); Assert (dof_handler.tria->n_levels() == dof_handler.levels.size (), @@ -625,12 +623,10 @@ namespace internal { const unsigned int dim = 2; - typedef DoFHandler BaseClass; - Assert (dof_handler.finite_elements != nullptr, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.finite_elements->size() > 0, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.tria->n_levels() > 0, ExcMessage("The current Triangulation must not be empty.")); Assert (dof_handler.tria->n_levels() == dof_handler.levels.size (), @@ -655,12 +651,10 @@ namespace internal { const unsigned int dim = 3; - typedef DoFHandler BaseClass; - Assert (dof_handler.finite_elements != nullptr, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.finite_elements->size() > 0, - typename BaseClass::ExcNoFESelected()); + (typename DoFHandler::ExcNoFESelected())); Assert (dof_handler.tria->n_levels() > 0, ExcMessage("The current Triangulation must not be empty.")); Assert (dof_handler.tria->n_levels() == dof_handler.levels.size (),