From 432a09af80f7dcba9fd517a001e3a1954c99537e Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 13 Mar 2020 08:17:39 -0700 Subject: kernel: SigSpec use more const& + overloads to prevent implicit SigSpec --- passes/techmap/techmap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passes/techmap/techmap.cc') diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 0c57733d4..5ddc18a12 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -906,8 +906,8 @@ struct TechmapWorker RTLIL::SigSig port_conn; for (auto &it : port_connmap) { - port_conn.first.append_bit(it.first); - port_conn.second.append_bit(it.second); + port_conn.first.append(it.first); + port_conn.second.append(it.second); } tpl->connect(port_conn); -- cgit v1.2.3