TD: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-30 10:59:39 +02:00
parent 312c8f68e4
commit 5f91eaa5eb
33 changed files with 57 additions and 61 deletions

View File

@@ -60,7 +60,7 @@ public:
Py::Object clearUnitTests (const Py::Tuple&);
private:
typedef PyObject* (*method_varargs_handler)(PyObject *_self, PyObject *_args);
using method_varargs_handler = PyObject* (*)(PyObject *_self, PyObject *_args);
static method_varargs_handler pycxx_handler;
static PyObject *method_varargs_ext_handler(PyObject *_self, PyObject *_args);
};