From 559b4ad0778f5f7fec1dceb759cdbc8bcde8f941 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 19 Oct 2016 18:25:24 +0200 Subject: [PATCH] Prevent some Clang warnings --- desmume/src/slot1.h | 1 + desmume/src/slot2.h | 1 + 2 files changed, 2 insertions(+) diff --git a/desmume/src/slot1.h b/desmume/src/slot1.h index 4513807c1..679508c64 100644 --- a/desmume/src/slot1.h +++ b/desmume/src/slot1.h @@ -53,6 +53,7 @@ private: class ISlot1Interface { public: + virtual ~ISlot1Interface() {} //called to get info about device (description) virtual Slot1Info const* info() = 0; diff --git a/desmume/src/slot2.h b/desmume/src/slot2.h index eef4d3f78..aceb11784 100644 --- a/desmume/src/slot2.h +++ b/desmume/src/slot2.h @@ -54,6 +54,7 @@ private: class ISlot2Interface { public: + virtual ~ISlot2Interface() {} //called to get info about device (description) virtual Slot2Info const* info() = 0;