aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-25 21:33:48 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-25 21:33:48 +0200
commitdb890d3a81bfe6760e9f4ea981798269abb60a20 (patch)
treeddae875c970642d6b79bb09ae201abe5f280c050 /common/nextpnr.cc
parent64208da1f986f104682c9c050c43f2273900810a (diff)
downloadnextpnr-db890d3a81bfe6760e9f4ea981798269abb60a20.tar.gz
nextpnr-db890d3a81bfe6760e9f4ea981798269abb60a20.tar.bz2
nextpnr-db890d3a81bfe6760e9f4ea981798269abb60a20.zip
nets and cells are unique_ptr's
Diffstat (limited to 'common/nextpnr.cc')
-rw-r--r--common/nextpnr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index 2dc3bacb..a7a3268e 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -163,7 +163,7 @@ uint32_t Context::checksum() const
void Context::check() const
{
for (auto &n : nets) {
- auto ni = n.second;
+ auto ni = n.second.get();
assert(n.first == ni->name);
for (auto &w : ni->wires) {
assert(n.first == getBoundWireNet(w.first));