Skip to content

Commit 329d739

Browse files
committed
stolen replace with stolen_t{}
1 parent d44ce93 commit 329d739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xtensor-python/pycontainer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ namespace xt
161161

162162
template <class D>
163163
inline pycontainer<D>::pycontainer(const pybind11::object& o)
164-
: pybind11::object(raw_array_t(o.ptr()), pybind11::object::stolen)
164+
: pybind11::object(raw_array_t(o.ptr()), pybind11::object::stolen_t{})
165165
{
166166
if (!this->m_ptr)
167167
{

0 commit comments

Comments
 (0)