Internals: Restyle with C++11 using replacing typedef

This commit is contained in:
Wilson Snyder
2021-03-12 18:10:45 -05:00
parent 404b323f8c
commit 3a55600913
76 changed files with 204 additions and 205 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ private:
// AstClass::user1() -> bool. Set true to indicate needs randomize processing
AstUser1InUse m_inuser1;
typedef std::unordered_set<AstClass*> DerivedSet;
typedef std::unordered_map<AstClass*, DerivedSet> BaseToDerivedMap;
using DerivedSet = std::unordered_set<AstClass*>;
using BaseToDerivedMap = std::unordered_map<AstClass*, DerivedSet>;
BaseToDerivedMap m_baseToDerivedMap; // Mapping from base classes to classes that extend them