Core/HW: Fix some explicitly defaulted but implicitly deleted warnings.

This commit is contained in:
Jordan Woyak 2019-10-18 14:58:25 -05:00
parent 4a613dad20
commit 9e8181e80e
2 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ public:
GCMemcardDirectory(const GCMemcardDirectory&) = delete;
GCMemcardDirectory& operator=(const GCMemcardDirectory&) = delete;
GCMemcardDirectory(GCMemcardDirectory&&) = default;
GCMemcardDirectory& operator=(GCMemcardDirectory&&) = default;
GCMemcardDirectory(GCMemcardDirectory&&) = delete;
GCMemcardDirectory& operator=(GCMemcardDirectory&&) = delete;
static std::vector<std::string> GetFileNamesForGameID(const std::string& directory,
const std::string& game_id);

View File

@ -51,8 +51,8 @@ class Wiimote
public:
Wiimote(const Wiimote&) = delete;
Wiimote& operator=(const Wiimote&) = delete;
Wiimote(Wiimote&&) = default;
Wiimote& operator=(Wiimote&&) = default;
Wiimote(Wiimote&&) = delete;
Wiimote& operator=(Wiimote&&) = delete;
virtual ~Wiimote() {}
// This needs to be called in derived destructors!