Robot: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:06:14 +01:00
parent 58d1cc4818
commit a057e5486d
30 changed files with 75 additions and 75 deletions

View File

@@ -42,14 +42,14 @@ std::string RobotObjectPy::representation(void) const
PyObject* RobotObjectPy::getRobot(PyObject * /*args*/)
{
PyErr_SetString(PyExc_NotImplementedError, "Not yet implemented");
return 0;
return nullptr;
}
PyObject *RobotObjectPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
return nullptr;
}
int RobotObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)