aboutsummaryrefslogtreecommitdiffstats
path: root/common/base_arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-15 22:37:19 +0100
committerGitHub <noreply@github.com>2021-05-15 22:37:19 +0100
commit47b4e42b1c0b849dc73a06357ad7e5cb24e0cbd7 (patch)
tree2a1a642e6bd577851161e0806453325ad777a302 /common/base_arch.h
parent1b5767928de16b1df2e8d90066023e3cd076d40d (diff)
parent3eeb2b20ebd3e527fb82a46774f4584575a3a9e1 (diff)
downloadnextpnr-47b4e42b1c0b849dc73a06357ad7e5cb24e0cbd7.tar.gz
nextpnr-47b4e42b1c0b849dc73a06357ad7e5cb24e0cbd7.tar.bz2
nextpnr-47b4e42b1c0b849dc73a06357ad7e5cb24e0cbd7.zip
Merge pull request #707 from gatecat/cyclonev
mistral: Initial Cyclone V support
Diffstat (limited to 'common/base_arch.h')
-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&'");