Fixing a comment error and adding a trivial protected destructor.

[SVN r57379]
This commit is contained in:
Emil Dotchevski authored and Peter Dimov committed 2014-06-03 01:57:00 +03:00
1 parent 41ba027722
commit c920a49ab3
1 file changed
+1 -1
+1 -1
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 )
{
//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);