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

This commit is contained in:
wmayer
2022-08-29 12:58:39 +02:00
parent d2168f51b9
commit 5240a30431
33 changed files with 86 additions and 85 deletions

View File

@@ -378,7 +378,7 @@ static inline bool essentiallyInteger(double a, long &l) {
// without holding Python global lock
struct PyObjectWrapper {
public:
typedef std::shared_ptr<PyObjectWrapper> Pointer;
using Pointer = std::shared_ptr<PyObjectWrapper>;
explicit PyObjectWrapper(PyObject *obj):pyobj(obj) {
Py::_XINCREF(pyobj);