mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-05 15:43:30 +00:00
Fixing Python bindings after adding unique_ptr
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@ void print_utilisation(const Context *ctx)
|
||||
{
|
||||
// Sort by Bel type
|
||||
std::map<BelType, int> used_types;
|
||||
for (auto& cell : ctx->cells) {
|
||||
for (auto &cell : ctx->cells) {
|
||||
used_types[ctx->belTypeFromId(cell.second.get()->type)]++;
|
||||
}
|
||||
std::map<BelType, int> available_types;
|
||||
|
||||
Reference in New Issue
Block a user