From c33228e4669cdcc86e46f9d81a48e59b1e0ba26f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 May 2018 07:54:37 -0400 Subject: [PATCH] DSPEmulator: Default destructor in the cpp file This gets rid of a -Wweak-vtables warning --- Source/Core/Core/DSPEmulator.cpp | 2 ++ Source/Core/Core/DSPEmulator.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/DSPEmulator.cpp b/Source/Core/Core/DSPEmulator.cpp index 477fcb8774..4315764a38 100644 --- a/Source/Core/Core/DSPEmulator.cpp +++ b/Source/Core/Core/DSPEmulator.cpp @@ -9,6 +9,8 @@ #include "Core/HW/DSPHLE/DSPHLE.h" #include "Core/HW/DSPLLE/DSPLLE.h" +DSPEmulator::~DSPEmulator() = default; + std::unique_ptr CreateDSPEmulator(bool hle) { if (hle) diff --git a/Source/Core/Core/DSPEmulator.h b/Source/Core/Core/DSPEmulator.h index 23758ab3ab..c0a1d42d2f 100644 --- a/Source/Core/Core/DSPEmulator.h +++ b/Source/Core/Core/DSPEmulator.h @@ -12,7 +12,7 @@ class PointerWrap; class DSPEmulator { public: - virtual ~DSPEmulator() {} + virtual ~DSPEmulator(); virtual bool IsLLE() = 0; virtual bool Initialize(bool wii, bool dsp_thread) = 0;