From: David Wells Date: Sat, 25 Apr 2015 15:58:58 +0000 (-0400) Subject: Remove compatability with EGCS 1.1. X-Git-Tag: v8.3.0-rc1~210^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5dbadface1fb6836042aec6ff3c6a65a23f30c;p=dealii.git Remove compatability with EGCS 1.1. Chances are GCC has been patched in the last sixteen years to fix this issue. --- diff --git a/include/deal.II/grid/tria_iterator.templates.h b/include/deal.II/grid/tria_iterator.templates.h index c7eeb418f0..057121ca42 100644 --- a/include/deal.II/grid/tria_iterator.templates.h +++ b/include/deal.II/grid/tria_iterator.templates.h @@ -132,18 +132,7 @@ inline bool TriaRawIterator::operator != (const TriaRawIterator &i) const { - // Note that at times, there is a problem - // with egcs 1.1 that makes it choose - // the global STL operator != (which - // does only !(a==b)) over the member - // function one, which then results in an - // error because the operator == of - // the accessor class is - // not made public. Strange... don't know - // whose fault it is. - // - // Work around the problem this way: - return accessor.operator != (i.accessor); + return not (*this == i); }