forked from boostorg/throw_exception
Fixing a comment error and adding a trivial protected destructor.
[SVN r57379]
This commit is contained in:
committed by
Peter Dimov
parent
41ba027722
commit
c920a49ab3
@ -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 )
|
||||
{
|
||||
//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.
|
||||
throw_exception_assert_compatibility(e);
|
||||
|
||||
|
Reference in New Issue
Block a user