modernize C++: use nullptr

This commit is contained in:
wmayer
2023-08-05 16:52:01 +02:00
committed by Chris Hennes
parent aa53596289
commit d244dcf2da
12 changed files with 242 additions and 137 deletions

View File

@@ -571,7 +571,7 @@ PyObject * @self.export.Name@::staticCallback_@i.Name@ (PyObject *self, PyObject
-
+ if not i.Static and not i.Class:
+ if (not i.Const):
if (ret != 0)
if (ret != nullptr)
static_cast<@self.export.Name@*>(self)->startNotify();
-
-