From c920a49ab36857a5c9700bf66a0cdf70fb942dad Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Wed, 4 Nov 2009 21:17:35 +0000 Subject: [PATCH] Fixing a comment error and adding a trivial protected destructor. [SVN r57379] --- include/boost/throw_exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index 2250bef..a5a5f9e 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -56,7 +56,7 @@ inline void throw_exception_assert_compatibility( std::exception const & ) { } template 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);