From a70261550ec464d3ccacd966e72664c997a4cbb7 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 2 Apr 2010 23:43:38 +0000 Subject: [PATCH] Fix another build warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100251 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/Disassembler/ARMDisassemblerCore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h index 8bf84dad93d..1409a120e48 100644 --- a/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h +++ b/lib/Target/ARM/Disassembler/ARMDisassemblerCore.h @@ -223,6 +223,8 @@ public: : Opcode(opc), Format(format), NumOps(num), Algo(algo), SP(0) {} + virtual ~ARMBasicMCBuilder() {} + void setSession(Session *sp) { SP = sp; }