- Apply patch from Caolan McNamara

- Resolves: #500030 function_template bug is back...
This commit is contained in:
Benjamin Kosnik 2009-05-11 23:46:25 +00:00
commit ab7902e738
3 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,15 @@
diff -ru boost/function/function_template.hpp boost/function/function_template.hpp
--- boost/function/function_template.hpp 2009-05-10 10:31:29.000000000 +0100
+++ boost/function/function_template.hpp 2009-05-10 10:49:46.000000000 +0100
@@ -950,10 +950,10 @@
f.vtable->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;