Skip to content

Commit 6911986

Browse files
Fix compile error for t_grid_loc_spec constructor
1 parent 1230745 commit 6911986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/libarchfpga/src/grid_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ struct t_grid_loc_def {
103103
t_grid_loc_def(std::string block_type_val, int priority_val)
104104
: block_type(std::move(block_type_val))
105105
, priority(priority_val)
106-
, x("0", "W-1", "max(w+1,W)", "w") //Fill in x direction, no repeat, incr by block width
107-
, y("0", "H-1", "max(h+1,H)", "h") //Fill in y direction, no repeat, incr by block height
106+
, x{"0", "W-1", "max(w+1,W)", "w"} //Fill in x direction, no repeat, incr by block width
107+
, y{"0", "H-1", "max(h+1,H)", "h"} //Fill in y direction, no repeat, incr by block height
108108
{}
109109

110110
std::string block_type; //The block type name

0 commit comments

Comments
 (0)