Skip to content

Commit

Permalink
wreduce: fix warning for deprecated IdString::in(pool<IdString>)
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Jan 30, 2025
1 parent da5c20d commit c269120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/opt/wreduce.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ struct WreduceWorker
{
bool did_something = false;

if (!cell->type.in(config->supported_cell_types))
if (!config->supported_cell_types.count(cell->type))
return;

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

0 comments on commit c269120

Please sign in to comment.