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
@@ -41,7 +41,7 @@ private:
// MEMBERS
AstNodeModule* m_modInsertp; // Current module to insert AstCUse under
typedef std::pair<VUseType, string> UseString;
std::map<UseString, AstCUse*> m_didUse; // What we already used
std::map<const UseString, AstCUse*> m_didUse; // What we already used
// NODE STATE
// Entire netlist: