From 1aedd4891c327267f9c30bbdf71284d352f7aab7 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Thu, 14 Aug 2008 21:34:29 +0000 Subject: [PATCH] Avoid compile warning by adding virtual destructor. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@208 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/Debugger/DebugInterface.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/Debugger/DebugInterface.h b/Source/Core/Core/Src/Debugger/DebugInterface.h index ff80cbf3ad..3008f5af7d 100644 --- a/Source/Core/Core/Src/Debugger/DebugInterface.h +++ b/Source/Core/Core/Src/Debugger/DebugInterface.h @@ -4,7 +4,9 @@ #include class DebugInterface -{ +{ +protected: + virtual ~DebugInterface() {} public: virtual const char *disasm(unsigned int /*address*/) {return "NODEBUGGER";} virtual int getInstructionSize(int /*instruction*/) {return 1;}