Skip to content
Permalink
Browse files

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

  • Loading branch information...
jordan-woyak committed Oct 18, 2019
1 parent 4a613da commit 9e8181e80e768645fc6a93748333d690253f66bf
@@ -26,8 +26,8 @@ class GCMemcardDirectory : public MemoryCardBase

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);
@@ -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!

0 comments on commit 9e8181e

Please sign in to comment.
You can’t perform that action at this time.