aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/nextpnr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 58bff892..2ecbaf0e 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -858,7 +858,7 @@ struct BaseCtx
constraintObjects.push_back(wildcard);
}
- ~BaseCtx()
+ virtual ~BaseCtx()
{
delete idstring_str_to_idx;
delete idstring_idx_to_str;