mirror of
https://github.com/verilator/verilator.git
synced 2026-08-30 09:48:22 +02:00
Internals: Favor const for map keys. No functional change intended.
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ void V3Graph::dumpDotFile(const string& filename, bool colorAsSubgraph) const {
|
||||
|
||||
// We use a map here, as we don't want to corrupt anything (userp) in the graph,
|
||||
// and we don't care if this is slow.
|
||||
std::map<V3GraphVertex*, int> numMap;
|
||||
std::map<const V3GraphVertex*, int> numMap;
|
||||
|
||||
// Print vertices
|
||||
int n = 0;
|
||||
|
||||
Reference in New Issue
Block a user