aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/llvm-diff/DifferenceEngine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-diff/DifferenceEngine.h b/tools/llvm-diff/DifferenceEngine.h
index 1609bd5..6eefb06 100644
--- a/tools/llvm-diff/DifferenceEngine.h
+++ b/tools/llvm-diff/DifferenceEngine.h
@@ -118,7 +118,7 @@ namespace llvm {
virtual void logd(const DiffLogBuilder &Log) = 0;
protected:
- ~Consumer() {}
+ virtual ~Consumer() {}
};
/// A RAII object for recording the current context.
@@ -141,7 +141,7 @@ namespace llvm {
virtual bool operator()(Value *L, Value *R) = 0;
protected:
- ~Oracle() {}
+ virtual ~Oracle() {}
};
DifferenceEngine(LLVMContext &context, Consumer &consumer)