Skip to content

Commit

Permalink
DSPEmulator: Default destructor in the cpp file
Browse files Browse the repository at this point in the history
This gets rid of a -Wweak-vtables warning
  • Loading branch information
lioncash committed May 29, 2018
1 parent b2d8d2a commit c33228e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Core/Core/DSPEmulator.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/DSPEmulator.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c33228e

Please sign in to comment.