Skip to content

Commit 130d3fd

Browse files
committed
[vpr][utils] replace auto with variable type
1 parent cbc1a13 commit 130d3fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/util/vpr_utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ std::vector<int> get_cluster_block_pins(t_physical_tile_type_ptr physical_tile,
19191919
bool found_sub_tile = false;
19201920

19211921
// Iterate over all the sub-tiles to find the sub-tile instance that the cluster block is mapped to.
1922-
for (const auto& tmp_sub_tile: physical_tile->sub_tiles) {
1922+
for (const t_sub_tile& tmp_sub_tile: physical_tile->sub_tiles) {
19231923
if (tmp_sub_tile.capacity.is_in_range(abs_cap)) {
19241924
// This sub-tile type is the one that the cluster block is mapped to.
19251925
found_sub_tile = true;
@@ -1947,7 +1947,7 @@ std::vector<int> get_cluster_block_pins(t_physical_tile_type_ptr physical_tile,
19471947
std::iota(pin_num_vec.begin(), pin_num_vec.end(), seen_sub_tiles_num_cluser_pins);
19481948

19491949
// Add the intra-cluster-level pins to the list.
1950-
auto internal_pins = get_cluster_internal_pins(cluster_blk_id);
1950+
std::vector<int> internal_pins = get_cluster_internal_pins(cluster_blk_id);
19511951
pin_num_vec.insert(pin_num_vec.end(), internal_pins.begin(), internal_pins.end());
19521952

19531953
return pin_num_vec;

0 commit comments

Comments
 (0)