From 1fefef06b0d77d18a16cfa07ad1df4e83d7f5fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20D=C3=B6bel?= Date: Tue, 27 Aug 2013 10:06:33 +0200 Subject: [PATCH] warning fix InstructionFilter needs virtual destructor (Effective C++, Item 14) Change-Id: I52422c3e8ec1c40c93cb83a0591910837efb00b5 --- src/experiments/l4-sys/InstructionFilter.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/experiments/l4-sys/InstructionFilter.hpp b/src/experiments/l4-sys/InstructionFilter.hpp index 79c1bdbe..40e03615 100644 --- a/src/experiments/l4-sys/InstructionFilter.hpp +++ b/src/experiments/l4-sys/InstructionFilter.hpp @@ -26,6 +26,7 @@ public: * @returns \c true if the instruction should be included, \c false otherwise */ virtual bool isValidInstr(address_t ip, char const *instr) const = 0; + virtual ~InstructionFilter() {} }; /**