- Apply a function_template patch from Caolan McNamara

- Resolves: #477131
This commit is contained in:
Petr Machata 2008-12-19 13:32:20 +00:00
commit 463220e7bb
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,14 @@
--- boost/function/function_template.hpp.orig 2008-12-19 10:32:27.000000000 +0000
+++ boost/function/function_template.hpp 2008-12-19 10:33:27.000000000 +0000
@@ -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;