aboutsummaryrefslogtreecommitdiffstats
path: root/common/design_utils.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-16 14:44:43 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-16 14:44:43 +0200
commitebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70 (patch)
treef9a8467373ffcfa41a4ba6eca745423873494ad1 /common/design_utils.h
parent5d343a168b98826c80482c11376b1a95b9b0bbca (diff)
parent7ff1b7e02f7436e03aae6204e4b23f106369ca6b (diff)
downloadnextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.tar.gz
nextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.tar.bz2
nextpnr-ebad1fee65b21f9a9e0901bbc66a2b8e5f9f9b70.zip
Merge branch 'simann'
Diffstat (limited to 'common/design_utils.h')
-rw-r--r--common/design_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/design_utils.h b/common/design_utils.h
index daf6e050..8d231d4c 100644
--- a/common/design_utils.h
+++ b/common/design_utils.h
@@ -72,7 +72,7 @@ CellInfo *net_only_drives(NetInfo *net, F1 cell_pred, IdString port,
// If a net is driven by a given port of a cell matching a predicate, return
// that cell, otherwise nullptr
template <typename F1>
-CellInfo *net_driven_by(NetInfo *net, F1 cell_pred, IdString port)
+CellInfo *net_driven_by(const NetInfo *net, F1 cell_pred, IdString port)
{
if (net == nullptr)
return nullptr;