From 4115d93c71ca49203e90210eeae44635aae392a6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 22 Jan 2017 02:35:18 -0500 Subject: [PATCH] EXI_Device: Move destructor to beginning of public section Constructors and destructors should be the first thing shown in a public interface. --- Source/Core/Core/HW/EXI/EXI_Device.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/EXI/EXI_Device.h b/Source/Core/Core/HW/EXI/EXI_Device.h index 061d5597a5..a2228a07f9 100644 --- a/Source/Core/Core/HW/EXI/EXI_Device.h +++ b/Source/Core/Core/HW/EXI/EXI_Device.h @@ -31,6 +31,8 @@ enum TEXIDevices : int class IEXIDevice { public: + virtual ~IEXIDevice() = default; + // Immediate copy functions virtual void ImmWrite(u32 _uData, u32 _uSize); virtual u32 ImmRead(u32 _uSize); @@ -51,7 +53,6 @@ public: // Is generating interrupt ? virtual bool IsInterruptSet() { return false; } - virtual ~IEXIDevice() {} // for savestates. storing it here seemed cleaner than requiring each implementation to report its // type. // I know this class is set up like an interface, but no code requires it to be strictly such.