Skip to content

Commit c5ee39f

Browse files
committed
Bug fix
[SVN r14803]
1 parent f7b1e4e commit c5ee39f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/boost/python/errors.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct BOOST_PYTHON_DECL argument_error : error_already_set {};
2020

2121
// Handles exceptions caught just before returning to Python code.
2222
// Returns true iff an exception was caught.
23-
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const&);
23+
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>);
2424

2525
template <class T>
2626
bool handle_exception(T f)

src/errors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace boost { namespace python {
1818

1919
// IMPORTANT: this function may only be called from within a catch block!
20-
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const& f)
20+
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> f)
2121
{
2222
try
2323
{

0 commit comments

Comments
 (0)