Skip to content

Commit 5df4c55

Browse files
committed
build error fix
1 parent 4f34f40 commit 5df4c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/draw/draw_searchbar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void check_node_highlight_net(char* message, ParentNetId parent_net_id, RRNodeId
169169
if (!route_ctx.route_trees[parent_net_id])
170170
return;
171171

172-
for (RouteTreeNode& rt_node : route_ctx.route_trees[parent_net_id].value().all_nodes()) {
172+
for (const RouteTreeNode& rt_node : route_ctx.route_trees[parent_net_id].value().all_nodes()) {
173173
RRNodeId inode = rt_node.inode;
174174
if (draw_state->draw_rr_node[inode].color == ezgl::MAGENTA) {
175175
draw_state->net_color[parent_net_id] = draw_state->draw_rr_node[inode].color;

0 commit comments

Comments
 (0)