Skip to content

Commit 0e8ff51

Browse files
rr_graph made constant in EdgeWalker()
1 parent 95ca4bd commit 0e8ff51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/route/rr_graph_uxsdcxx_serializer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class t_metadata_dict_iterator {
145145

146146
class EdgeWalker {
147147
public:
148-
void initialize(const t_rr_graph_storage* nodes, RRGraphView* rr_graph) {
148+
void initialize(const t_rr_graph_storage* nodes, const RRGraphView* rr_graph) {
149149
nodes_ = nodes;
150150
rr_graph_ = rr_graph;
151151
num_edges_ = 0;
@@ -206,7 +206,7 @@ class EdgeWalker {
206206

207207
private:
208208
const t_rr_graph_storage* nodes_;
209-
RRGraphView* rr_graph_;
209+
const RRGraphView* rr_graph_;
210210
size_t num_edges_;
211211
size_t current_src_inode_;
212212
size_t current_edge_;

0 commit comments

Comments
 (0)