Index: function_template.hpp =================================================================== --- function_template.hpp (revision 49552) +++ function_template.hpp (working copy) @@ -949,11 +949,11 @@ this->vtable = f.vtable; f.vtable->manager(f.functor, this->functor, boost::detail::function::move_functor_tag); - f.vtable = 0; -#if !defined(BOOST_NO_EXCEPTIONS) + f.vtable = 0; } else { clear(); } +#if !defined(BOOST_NO_EXCEPTIONS) } catch (...) { vtable = 0; throw;