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

This commit is contained in:
wmayer
2022-08-29 12:58:39 +02:00
parent 4e42ff7baa
commit 656890be38
33 changed files with 86 additions and 85 deletions

View File

@@ -40,8 +40,8 @@ std::string LinkBaseExtensionPy::representation() const
return str.str();
}
typedef std::map<std::string, std::pair<int,Property*> > PropTmpMap;
typedef std::map<std::string, Property*> PropMap;
using PropTmpMap = std::map<std::string, std::pair<int,Property*> >;
using PropMap = std::map<std::string, Property*>;
static bool getProperty(PropTmpMap &props, const LinkBaseExtension::PropInfoMap &infoMap,
const PropMap &propMap, PyObject *key, PyObject *value)