mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 03:23:27 +02:00
Internals: Favor const for map keys. No functional change intended.
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ private:
|
||||
|
||||
void createTableVars(AstNode* nodep) {
|
||||
// Create table for each output
|
||||
typedef std::map<string, int> NameCounts;
|
||||
typedef std::map<const string, int> NameCounts;
|
||||
NameCounts namecounts;
|
||||
for (const AstVarScope* outvscp : m_outVarps) {
|
||||
AstVar* outvarp = outvscp->varp();
|
||||
|
||||
Reference in New Issue
Block a user