From 1d5dbadface1fb6836042aec6ff3c6a65a23f30c Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 25 Apr 2015 11:58:58 -0400 Subject: [PATCH] Remove compatability with EGCS 1.1. Chances are GCC has been patched in the last sixteen years to fix this issue. --- include/deal.II/grid/tria_iterator.templates.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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); } -- 2.39.5