From: heister Date: Wed, 9 Jan 2013 05:10:56 +0000 (+0000) Subject: workaround for warning 'deleting object of polymorphic class type boost::error_info... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0b99708ce217525043ac70e6878be4ab987e23;p=dealii-svn.git workaround for warning 'deleting object of polymorphic class type boost::error_info<...> which has non-virtual destructor' git-svn-id: https://svn.dealii.org/trunk@27992 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/boost-1.49.0/include/boost/exception/detail/error_info_impl.hpp b/deal.II/contrib/boost-1.49.0/include/boost/exception/detail/error_info_impl.hpp index 883d313a98..f432aabbf6 100644 --- a/deal.II/contrib/boost-1.49.0/include/boost/exception/detail/error_info_impl.hpp +++ b/deal.II/contrib/boost-1.49.0/include/boost/exception/detail/error_info_impl.hpp @@ -30,7 +30,7 @@ boost protected: - ~error_info_base() throw() + virtual ~error_info_base() throw() { } };