Internals: Favor const for map keys. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-10-30 18:00:40 -04:00
parent 0c949ceba2
commit 51b0963e61
30 changed files with 73 additions and 81 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class StatsVisitor : public AstNVisitor {
private:
// NODE STATE/TYPES
typedef std::map<string, int> NameMap; // Number of times a name appears
typedef std::map<const string, int> NameMap; // Number of times a name appears
// STATE
string m_stage; // Name of the stage we are scanning