aboutsummaryrefslogtreecommitdiffstats
path: root/common/rulecheck.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-26 14:13:52 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-26 14:13:52 +0200
commit103dde79de25e2f9250b27134aa3d547d42408e2 (patch)
treea1726abff970476179e2395403f9cd5da274ca30 /common/rulecheck.cc
parentded9df61dc1ce390a6751c214c02a2acb3a57577 (diff)
downloadnextpnr-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/rulecheck.cc')
-rw-r--r--common/rulecheck.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rulecheck.cc b/common/rulecheck.cc
index d406178a..2570dd65 100644
--- a/common/rulecheck.cc
+++ b/common/rulecheck.cc
@@ -11,7 +11,7 @@ bool check_all_nets_driven(Context *ctx)
log_info("Rule checker, Verifying pre-placed design\n");
- for (auto& cell_entry : ctx->cells) {
+ for (auto &cell_entry : ctx->cells) {
CellInfo *cell = cell_entry.second.get();
if (debug)
@@ -39,7 +39,7 @@ bool check_all_nets_driven(Context *ctx)
}
}
- for (auto& net_entry : ctx->nets) {
+ for (auto &net_entry : ctx->nets) {
NetInfo *net = net_entry.second.get();
assert(net->name == net_entry.first);