aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 1c7571cc..9d46b654 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -61,7 +61,7 @@
NEXTPNR_NAMESPACE_BEGIN
-class assertion_failure : std::runtime_error
+class assertion_failure : public std::runtime_error
{
public:
assertion_failure(std::string msg, std::string expr_str, std::string filename, int line);