Skip to content
Snippets Groups Projects
Commit 906c3341 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

get && reset => release

parent ce04f783
No related branches found
No related tags found
1 merge request!1636PyCore: Re-implementation of embedded Python as a separate module (Major change)
......@@ -28,10 +28,8 @@ PyObjectPtr::~PyObjectPtr()
}
PyObjectPtr::PyObjectPtr(PyObjectPtr&& other)
: PyObjectPtr(other.get())
: PyObjectPtr(other.release())
{
// reset the moved object
other.reset();
}
PyObject* PyObjectPtr::get()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment