|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51745 - trunk/boost/function
From: dgregor_at_[hidden]
Date: 2009-03-13 01:49:03
Author: dgregor
Date: 2009-03-13 01:49:02 EDT (Fri, 13 Mar 2009)
New Revision: 51745
URL: http://svn.boost.org/trac/boost/changeset/51745
Log:
Make Boost.Function compile under BOOST_NO_EXCEPTIONS.
Fixes #2499
Fixes #2494
Fixes #2469
Fixes #2466
Text files modified:
trunk/boost/function/function_template.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/function/function_template.hpp
==============================================================================
--- trunk/boost/function/function_template.hpp (original)
+++ trunk/boost/function/function_template.hpp 2009-03-13 01:49:02 EDT (Fri, 13 Mar 2009)
@@ -976,10 +976,10 @@
get_vtable()->base.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;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk