]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
gcc 3.4.6 complains that the (synthesized) destructor of a derived
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jun 2010 16:06:07 +0000 (16:06 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jun 2010 16:06:07 +0000 (16:06 +0000)
class has looser exception specifications than the one in the base
class. Avoid this error by explicitly providing it with the tighter
exception specification.

git-svn-id: https://svn.dealii.org/trunk@21212 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/boost/include/boost/exception_ptr.hpp

index 91dce257c07daef82770ee14fe8e40221f6d3d7d..1bae365ea01e01d2d45fa440cebfac3ec5a5c19b 100644 (file)
@@ -90,6 +90,9 @@ boost
             {
             }
 
+           virtual ~exception_ptr () throw()
+             {}
+
         operator unspecified_bool_type() const
             {
             return _empty() ? 0 : &exception_ptr::bad_alloc_;

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.