App: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 17:29:23 +01:00
parent 4183c45a01
commit 1a20b7f119
67 changed files with 647 additions and 643 deletions

View File

@@ -354,7 +354,7 @@ void PropertyPythonObject::Restore(Base::XMLReader &reader)
Py::Module mod(PyImport_ImportModule(nam.c_str()),true);
if (mod.isNull())
throw Py::Exception();
this->object = PyObject_CallObject(mod.getAttr(cls).ptr(), NULL);
this->object = PyObject_CallObject(mod.getAttr(cls).ptr(), nullptr);
load_pickle = true;
buffer = std::string(what[2].second, end);
}