mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Restyle with C++11 using replacing typedef
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ class StatsVisitor final : public AstNVisitor {
|
||||
private:
|
||||
// NODE STATE/TYPES
|
||||
|
||||
typedef std::map<const string, int> NameMap; // Number of times a name appears
|
||||
using NameMap = std::map<const std::string, int>; // Number of times a name appears
|
||||
|
||||
// STATE
|
||||
string m_stage; // Name of the stage we are scanning
|
||||
|
||||
Reference in New Issue
Block a user