SHA256
8
0
forked from pool/boost
OBS User unknown
2009-03-03 20:54:43 +00:00
committed by Git OBS Bridge
parent 59e9183524
commit 490d509220
5 changed files with 46 additions and 19 deletions

View File

@@ -0,0 +1,17 @@
The ifdef is misplaced and leads to compilation errors when
when BOOST_NO_EXCEPTIONS is defined (bnc#479659).
--- boost/function/function_template.hpp
+++ boost/function/function_template.hpp
@@ -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;