Opened 10 years ago
Closed 10 years ago
#6890 closed Bugs (fixed)
BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_ should use ::boost::python
Reported by: | anonymous | Owned by: | Ralf W. Grosse-Kunstleve |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.46.1 | Severity: | Problem |
Keywords: | boost::python::object | Cc: |
Description
# define BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_(derived, base) \
inline explicit derived(python::detail::borrowed_reference p) \
: base(p) {} \
inline explicit derived(python::detail::new_reference p) \
: base(p) {} \
inline explicit derived(python::detail::new_non_null_reference p) \
: base(p) {}
should be
# define BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_(derived, base) \
inline explicit derived(::boost::python::detail::borrowed_reference p) \
: base(p) {} \
inline explicit derived(::boost::python::detail::new_reference p) \
: base(p) {} \
inline explicit derived(::boost::python::detail::new_non_null_reference p) \
: base(p) {}
Change History (2)
comment:1 by , 10 years ago
Component: | None → Python |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
checked in with svn trunk rev. 78427