diff --git a/include/boost/python/list.hpp b/include/boost/python/list.hpp index c732b4fd..3de6dedd 100644 --- a/include/boost/python/list.hpp +++ b/include/boost/python/list.hpp @@ -94,8 +94,8 @@ class list : public object } public: // implementation detail -- for internal use only - explicit list(detail::borrowed_reference); - explicit list(detail::new_reference); + inline explicit list(detail::borrowed_reference); + inline explicit list(detail::new_reference); private: static BOOST_PYTHON_DECL detail::new_reference call(object const&); diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index 35817f21..e82ff47e 100755 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -195,8 +195,8 @@ namespace api struct object_base : object_operators { // copy constructor without NULL checking, for efficiency. - object_base(object_base const&); - object_base(PyObject* ptr); + inline object_base(object_base const&); + inline object_base(PyObject* ptr); object_base& operator=(object_base const& rhs); ~object_base();