mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 16:52:15 +00:00
fixes for GCC .so/exception problems
[SVN r13471]
This commit is contained in:
@@ -12,7 +12,7 @@ namespace vects { \
|
||||
operator##oper (const vect_type1& lhs, const vect_type2& rhs) { \
|
||||
if (lhs.size() != rhs.size()) { \
|
||||
PyErr_SetString(PyExc_ValueError, "vectors have different sizes"); \
|
||||
throw boost::python::error_already_set(); \
|
||||
boost::python::throw_error_already_set(); \
|
||||
} \
|
||||
result_type result(lhs.size()); \
|
||||
for (std::size_t i=0; i<lhs.size(); i++) { \
|
||||
|
||||
Reference in New Issue
Block a user