Skip to content

Commit f445479

Browse files
authored
Merge pull request #4878 from YosysHQ/emil/fix-wreduce-warning-in-pool
wreduce: fix warning for deprecated IdString::in(pool<IdString>)
2 parents 0ab1392 + c269120 commit f445479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

passes/opt/wreduce.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ struct WreduceWorker
280280
{
281281
bool did_something = false;
282282

283-
if (!cell->type.in(config->supported_cell_types))
283+
if (!config->supported_cell_types.count(cell->type))
284284
return;
285285

286286
if (cell->type.in(ID($mux), ID($pmux)))

0 commit comments

Comments
 (0)