about summary refs log tree commit diff
path: root/pkgs/development/libraries/boost/classr.patch
blob: fbe383086968bf2f0ed97baa9562bbfc0990c345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Taken from http://wiki.freebsd.org/BoostPortingProject
--- boost1.38/boost/function/function_template.hpp.orig   2008-10-16 17:21:50.000000000 +0400
+++ boost1.38_2/boost/function/function_template.hpp        2009-03-25 04:12:15.000000000 +0300
@@ -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;