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

@@ -40,7 +40,7 @@ class ExtensionPythonT : public ExtensionT
EXTENSION_PROPERTY_HEADER(App::ExtensionPythonT<ExtensionT>);
public:
typedef ExtensionT Inherited;
using Inherited = ExtensionT;
ExtensionPythonT() {
ExtensionT::m_isPythonExtension = true;
@@ -54,7 +54,7 @@ public:
ExtensionPythonT& operator= (ExtensionPythonT&&) = delete;
};
typedef ExtensionPythonT<App::Extension> ExtensionPython;
using ExtensionPython = ExtensionPythonT<App::Extension>;
// Helper macros to define python extensions
#define EXTENSION_PROXY_FIRST(function) \