Make Boost.Function compile under BOOST_NO_EXCEPTIONS.

Fixes #2499
Fixes #2494
Fixes #2469
Fixes #2466


[SVN r51745]
This commit is contained in:
Douglas Gregor
2009-03-13 05:49:02 +00:00
parent 6f8ec5c8c5
commit a74e72cce9

View File

@ -976,10 +976,10 @@ namespace boost {
get_vtable()->base.manager(f.functor, this->functor,
boost::detail::function::move_functor_tag);
f.vtable = 0;
#if !defined(BOOST_NO_EXCEPTIONS)
} else {
clear();
}
#if !defined(BOOST_NO_EXCEPTIONS)
} catch (...) {
vtable = 0;
throw;