Part: modernize C++11
* use nullptr
This commit is contained in:
@@ -2296,7 +2296,7 @@ PyObject *Geom2dTrimmedCurve::getPyObject(void)
|
||||
}
|
||||
|
||||
PyErr_SetString(PyExc_RuntimeError, "Unknown curve type");
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user