From db890d3a81bfe6760e9f4ea981798269abb60a20 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 25 Jun 2018 21:33:48 +0200 Subject: nets and cells are unique_ptr's --- common/nextpnr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/nextpnr.cc') 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)); -- cgit v1.2.3