aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-08 13:38:17 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commite5e2f7bc62c1cfba2f43ea74199a5a3a379e5de7 (patch)
treed1da2c022356f3a5b50daa762e14561282e0c933 /common
parent879ac39e53c76558766460cfa948d97227119f37 (diff)
downloadnextpnr-e5e2f7bc62c1cfba2f43ea74199a5a3a379e5de7.tar.gz
nextpnr-e5e2f7bc62c1cfba2f43ea74199a5a3a379e5de7.tar.bz2
nextpnr-e5e2f7bc62c1cfba2f43ea74199a5a3a379e5de7.zip
mistral: Add stub pack/place/route functions
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/base_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/base_arch.h b/common/base_arch.h
index e9cc8cf0..fbafee99 100644
--- a/common/base_arch.h
+++ b/common/base_arch.h
@@ -75,7 +75,7 @@ typename std::enable_if<std::is_same<Tret, Tc>::value, Tret>::type return_if_mat
}
template <typename Tret, typename Tc>
-typename std::enable_if<!std::is_same<Tret, Tc>::value, Tret>::type return_if_match(Tret r)
+typename std::enable_if<!std::is_same<Tret, Tc>::value, Tc>::type return_if_match(Tret r)
{
NPNR_ASSERT_FALSE("default implementations of cell type and bel bucket range functions only available when the "
"respective range types are 'const std::vector&'");