]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a workaround that was necessary for 2.95
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Sep 2007 00:35:18 +0000 (00:35 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Sep 2007 00:35:18 +0000 (00:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@15175 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_iterator.h

index 2c8ab299eb4f152541a2f92346bd2b49a9026ed7..09a32e113b959c97c2bf495312bce2cd673e4024 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -511,23 +511,6 @@ class TriaRawIterator :
                    << (arg1.state() == IteratorState::valid ? "valid" :
                        (arg1.state() == IteratorState::past_the_end ?
                         "past_the_end" : "invalid")));
-
-#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG
-                                    // the above exception class is
-                                    // supposed to report information
-                                    // about *this, but to do so it
-                                    // needs to access member
-                                    // elements of the enclosing
-                                    // class. by defect report #45
-                                    // to the C++ standard, this is
-                                    // supposed to be allowed, but
-                                    // gcc2.95 rejects it (pre-defect
-                                    // report era), so declare the
-                                    // member class a friend. only do
-                                    // this if ./configure detected
-                                    // the necessity to do so
-    friend class ExcDereferenceInvalidObject;
-#endif
     
                                     /**
                                      *  Exception

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.