From: Wolfgang Bangerth Date: Tue, 16 Feb 2010 13:51:35 +0000 (+0000) Subject: Use the right kind of cast. X-Git-Tag: v8.0.0~6423 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ef7679a110383028ce4dc2bfdd30c035a1be2e;p=dealii.git Use the right kind of cast. git-svn-id: https://svn.dealii.org/trunk@20647 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_values.cc b/deal.II/deal.II/source/fe/fe_values.cc index 8745dedd1e..4134d62af2 100644 --- a/deal.II/deal.II/source/fe/fe_values.cc +++ b/deal.II/deal.II/source/fe/fe_values.cc @@ -3038,7 +3038,7 @@ FEValuesBase::check_cell_similarity cell_similarity = CellSimilarity::none; else cell_similarity = (cell->is_translation_of - (static_cast::cell_iterator>(*this->present_cell)) + (static_cast::cell_iterator &>(*this->present_cell)) ? CellSimilarity::translation :