aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/cost_map.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-14 10:14:51 +0100
committergatecat <gatecat@ds0.me>2021-04-14 10:30:19 +0100
commit4e346ecfba86880c2528e3463b9beb42932d8567 (patch)
tree37c620946f8dda1937ba1fa4b6ce6f0e2126c4ea /fpga_interchange/cost_map.cc
parent2912860c9788033a7501726e77bb4962b394280d (diff)
downloadnextpnr-4e346ecfba86880c2528e3463b9beb42932d8567.tar.gz
nextpnr-4e346ecfba86880c2528e3463b9beb42932d8567.tar.bz2
nextpnr-4e346ecfba86880c2528e3463b9beb42932d8567.zip
Hash table refactoring
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/cost_map.cc')
-rw-r--r--fpga_interchange/cost_map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/cost_map.cc b/fpga_interchange/cost_map.cc
index b42f115d..868fdca0 100644
--- a/fpga_interchange/cost_map.cc
+++ b/fpga_interchange/cost_map.cc
@@ -121,7 +121,7 @@ delay_t CostMap::get_delay(const Context *ctx, WireId src_wire, WireId dst_wire)
}
void CostMap::set_cost_map(const Context *ctx, const TypeWirePair &wire_pair,
- const HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t> &delays)
+ const HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t, PairHash> &delays)
{
CostMapEntry delay_matrix;