Part: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:06:48 +01:00
parent a057e5486d
commit 6d2d45ceb7
155 changed files with 1504 additions and 1504 deletions

View File

@@ -429,7 +429,7 @@ PyObject* BRepOffsetAPI_MakeFillingPy::G2Error(PyObject *args)
PyObject* BRepOffsetAPI_MakeFillingPy::shape(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;
return nullptr;
try {
const TopoDS_Shape& shape = this->getBRepOffsetAPI_MakeFillingPtr()->Shape();
@@ -437,7 +437,7 @@ PyObject* BRepOffsetAPI_MakeFillingPy::shape(PyObject *args)
}
catch (Standard_Failure& e) {
PyErr_SetString(PyExc_RuntimeError, e.GetMessageString());
return 0;
return nullptr;
}
}