2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00
[SVN r14803]
This commit is contained in:
Dave Abrahams
2002-08-13 05:07:50 +00:00
parent f7b1e4ec09
commit c5ee39f54b
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ struct BOOST_PYTHON_DECL argument_error : error_already_set {};
// Handles exceptions caught just before returning to Python code.
// Returns true iff an exception was caught.
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const&);
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>);
template <class T>
bool handle_exception(T f)

View File

@@ -17,7 +17,7 @@
namespace boost { namespace python {
// IMPORTANT: this function may only be called from within a catch block!
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const& f)
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> f)
{
try
{