Skip to content
Snippets Groups Projects
Unverified Commit f50a0e5d authored by Joris Vaillant's avatar Joris Vaillant
Browse files

unittest: Fix conversion warning

parent ba86d548
No related branches found
No related tags found
No related merge requests found
Pipeline #40794 passed with warnings
......@@ -73,7 +73,7 @@ struct VirtualClassWrapper : MyVirtualClass, bp::wrapper<MyVirtualClass> {
shared_ptr<MyVirtualData> createData() const override {
if (bp::override fo = this->get_override("createData")) {
bp::object result = fo();
bp::object result = fo().as<bp::object>();
return bp::extract<shared_ptr<MyVirtualData> >(result);
}
return default_createData();
......
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