Fixing a comment error and adding a trivial protected destructor.

[SVN r57379]
This commit is contained in:
Emil Dotchevski
2009-11-04 21:17:35 +00:00
committed by Peter Dimov
parent 41ba027722
commit c920a49ab3

View File

@ -56,7 +56,7 @@ inline void throw_exception_assert_compatibility( std::exception const & ) { }
template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e ) template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
{ {
//All boost exceptions are required to derive std::exception, //All boost exceptions are required to derive from std::exception,
//to ensure compatibility with BOOST_NO_EXCEPTIONS. //to ensure compatibility with BOOST_NO_EXCEPTIONS.
throw_exception_assert_compatibility(e); throw_exception_assert_compatibility(e);