App: modernize C++: use override

This commit is contained in:
wmayer
2023-08-03 23:13:02 +02:00
committed by wwmayer
parent 4d4267481f
commit c05091885e
9 changed files with 149 additions and 182 deletions

View File

@@ -89,14 +89,14 @@ public:
public:
explicit FeaturePythonPyT(Base::BaseClass *pcObject, PyTypeObject *T = &Type);
virtual ~FeaturePythonPyT();
~FeaturePythonPyT() override;
/** @name callbacks and implementers for the python object methods */
//@{
static int __setattro(PyObject *PyObj, PyObject *attro, PyObject *value);
//@}
PyObject *_getattr(const char *attr); // __getattr__ function
int _setattr(const char *attr, PyObject *value); // __setattr__ function
PyObject *_getattr(const char *attr) override;
int _setattr(const char *attr, PyObject *value) override;
protected:
PyObject * dict_methods;