Path: modernize C++11
* use nullptr
This commit is contained in:
@@ -65,7 +65,7 @@ PyMOD_INIT_FUNC(Path)
|
||||
}
|
||||
catch(const Base::Exception& e) {
|
||||
PyErr_SetString(PyExc_ImportError, e.what());
|
||||
PyMOD_Return(NULL);
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
|
||||
PyObject* pathModule = Path::initModule();
|
||||
|
||||
Reference in New Issue
Block a user