diff options
Diffstat (limited to 'src/python/pyutils.h')
-rw-r--r-- | src/python/pyutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/pyutils.h b/src/python/pyutils.h index 216af8b7..41bbbfde 100644 --- a/src/python/pyutils.h +++ b/src/python/pyutils.h @@ -62,10 +62,10 @@ struct register_optional_to_python : public boost::noncopyable { return boost::python::incref (value ? boost::python::to_python_value<T>()(*value) : - boost::python::detail::none()); + boost::python::detail::none()); } }; - + struct optional_from_python { static void * convertible(PyObject * source) |