diff options
| author | Maarten ter Huurne <maarten@treewalker.org> | 2008-08-14 21:34:29 +0000 |
|---|---|---|
| committer | Maarten ter Huurne <maarten@treewalker.org> | 2008-08-14 21:34:29 +0000 |
| commit | 1aedd4891c327267f9c30bbdf71284d352f7aab7 (patch) | |
| tree | 881f0ceb6e456bd6289b0ef92a7eb953cd26a792 /Source/Core | |
| parent | 5130365b6d7d044c3b19692f2e1100f13e040a68 (diff) | |
Avoid compile warning by adding virtual destructor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@208 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/Debugger/DebugInterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <string>
class DebugInterface
-{
+{ +protected: + virtual ~DebugInterface() {}
public:
virtual const char *disasm(unsigned int /*address*/) {return "NODEBUGGER";}
virtual int getInstructionSize(int /*instruction*/) {return 1;}
|
