forked from pool/boost
Accepting request 37247 from devel:libraries:c_c++
checked in (request 37247) OBS-URL: https://build.opensuse.org/request/show/37247 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
503e2106d4
commit
cf48fbafb2
17
boost-function_without_exception.patch
Normal file
17
boost-function_without_exception.patch
Normal 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;
|
||||
Reference in New Issue
Block a user