diff options
author | David Shah <davey1576@gmail.com> | 2018-06-26 14:13:52 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-26 14:13:52 +0200 |
commit | 103dde79de25e2f9250b27134aa3d547d42408e2 (patch) | |
tree | a1726abff970476179e2395403f9cd5da274ca30 /common/design_utils.cc | |
parent | ded9df61dc1ce390a6751c214c02a2acb3a57577 (diff) | |
download | nextpnr-103dde79de25e2f9250b27134aa3d547d42408e2.tar.gz nextpnr-103dde79de25e2f9250b27134aa3d547d42408e2.tar.bz2 nextpnr-103dde79de25e2f9250b27134aa3d547d42408e2.zip |
Fixing Python bindings after adding unique_ptr
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/design_utils.cc')
-rw-r--r-- | common/design_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/design_utils.cc b/common/design_utils.cc index 74310ab4..58257bb7 100644 --- a/common/design_utils.cc +++ b/common/design_utils.cc @@ -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; |