DSPEmulator: Default destructor in the cpp file

This gets rid of a -Wweak-vtables warning
This commit is contained in:
Lioncash 2018-05-29 07:54:37 -04:00
parent b2d8d2a398
commit c33228e466
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@
#include "Core/HW/DSPHLE/DSPHLE.h" #include "Core/HW/DSPHLE/DSPHLE.h"
#include "Core/HW/DSPLLE/DSPLLE.h" #include "Core/HW/DSPLLE/DSPLLE.h"
DSPEmulator::~DSPEmulator() = default;
std::unique_ptr<DSPEmulator> CreateDSPEmulator(bool hle) std::unique_ptr<DSPEmulator> CreateDSPEmulator(bool hle)
{ {
if (hle) if (hle)

View File

@ -12,7 +12,7 @@ class PointerWrap;
class DSPEmulator class DSPEmulator
{ {
public: public:
virtual ~DSPEmulator() {} virtual ~DSPEmulator();
virtual bool IsLLE() = 0; virtual bool IsLLE() = 0;
virtual bool Initialize(bool wii, bool dsp_thread) = 0; virtual bool Initialize(bool wii, bool dsp_thread) = 0;