From: Wolfgang Bangerth Date: Fri, 11 Feb 2000 09:12:41 +0000 (+0000) Subject: Ugh, this could have been an expensive buglet, in terms of computing power... X-Git-Tag: v8.0.0~20978 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f05c42964070218b860d55230f0d49dbfd86866;p=dealii.git Ugh, this could have been an expensive buglet, in terms of computing power... git-svn-id: https://svn.dealii.org/trunk@2382 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index 884f6d5fb1..7fdbeb0efc 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -242,9 +242,10 @@ FiniteElementBase::constraints () const template -bool FiniteElementBase::operator == (const FiniteElementBase &f) const { - return ((static_cast >(*this) == - static_cast >(f)) && +bool FiniteElementBase::operator == (const FiniteElementBase &f) const +{ + return ((static_cast&>(*this) == + static_cast&>(f)) && (interface_constraints == f.interface_constraints)); };