1
0
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:
David Shah
2018-06-26 14:13:52 +02:00
parent ded9df61dc
commit 103dde79de
10 changed files with 137 additions and 36 deletions

View File

@@ -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;