summaryrefslogtreecommitdiff
path: root/src/sim/faults.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/faults.hh')
-rw-r--r--src/sim/faults.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index be7aab582..747597152 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -47,6 +47,8 @@ class FaultBase
virtual FaultName name() const = 0;
virtual void invoke(ThreadContext * tc, const StaticInstPtr &inst =
StaticInst::nullStaticInstPtr);
+
+ virtual ~FaultBase() {};
};
class UnimpFault : public FaultBase