summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibX86/Interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibX86/Interpreter.h')
-rw-r--r--Userland/Libraries/LibX86/Interpreter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibX86/Interpreter.h b/Userland/Libraries/LibX86/Interpreter.h
index efbf4164d8..49f71b50ce 100644
--- a/Userland/Libraries/LibX86/Interpreter.h
+++ b/Userland/Libraries/LibX86/Interpreter.h
@@ -622,6 +622,9 @@ public:
virtual void wrap_0xD2(const Instruction&) = 0;
virtual void wrap_0xD3_16(const Instruction&) = 0;
virtual void wrap_0xD3_32(const Instruction&) = 0;
+
+protected:
+ virtual ~Interpreter() = default;
};
typedef void (Interpreter::*InstructionHandler)(const Instruction&);