Part: [skip ci] include OCC hesder to PCHs, fix compiler warning when trying to delete void pointer

This commit is contained in:
wmayer
2020-09-28 20:23:33 +02:00
parent 904574d368
commit 1a15d566d5
6 changed files with 9 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ int PointConstraintPy::PyInit(PyObject* args, PyObject* kwds)
Base::Vector3d v = static_cast<Base::VectorPy*>(pt)->value();
ptr.reset(new GeomPlate_PointConstraint(gp_Pnt(v.x, v.y, v.z), order, tolDist));
setPointer(ptr.release());
setTwinPointer(ptr.release());
return 0;
}