Skip to content

Commit aef987d

Browse files
committed
work around OSF linker problem
[SVN r13768]
1 parent c5d9074 commit aef987d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/boost/python/errors.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ inline void handle_exception()
3535
handle_exception(detail::rethrow);
3636
}
3737

38-
BOOST_PYTHON_DECL PyObject* expect_non_null(PyObject* x);
38+
BOOST_PYTHON_DECL PyObject* expect_non_null_impl(PyObject* x);
3939

4040
template <class T>
41-
T* expect_non_null(T* x)
41+
inline T* expect_non_null(T* x)
4242
{
43-
return (T*)expect_non_null((PyObject*)x);
43+
return (T*)expect_non_null_impl((PyObject*)x);
4444
}
4545

4646
BOOST_PYTHON_DECL void throw_argument_error();

0 commit comments

Comments
 (0)