Core/HW: Fix some explicitly defaulted but implicitly deleted warnings.
This commit is contained in:
parent
4a613dad20
commit
9e8181e80e
|
@ -26,8 +26,8 @@ public:
|
||||||
|
|
||||||
GCMemcardDirectory(const GCMemcardDirectory&) = delete;
|
GCMemcardDirectory(const GCMemcardDirectory&) = delete;
|
||||||
GCMemcardDirectory& operator=(const GCMemcardDirectory&) = delete;
|
GCMemcardDirectory& operator=(const GCMemcardDirectory&) = delete;
|
||||||
GCMemcardDirectory(GCMemcardDirectory&&) = default;
|
GCMemcardDirectory(GCMemcardDirectory&&) = delete;
|
||||||
GCMemcardDirectory& operator=(GCMemcardDirectory&&) = default;
|
GCMemcardDirectory& operator=(GCMemcardDirectory&&) = delete;
|
||||||
|
|
||||||
static std::vector<std::string> GetFileNamesForGameID(const std::string& directory,
|
static std::vector<std::string> GetFileNamesForGameID(const std::string& directory,
|
||||||
const std::string& game_id);
|
const std::string& game_id);
|
||||||
|
|
|
@ -51,8 +51,8 @@ class Wiimote
|
||||||
public:
|
public:
|
||||||
Wiimote(const Wiimote&) = delete;
|
Wiimote(const Wiimote&) = delete;
|
||||||
Wiimote& operator=(const Wiimote&) = delete;
|
Wiimote& operator=(const Wiimote&) = delete;
|
||||||
Wiimote(Wiimote&&) = default;
|
Wiimote(Wiimote&&) = delete;
|
||||||
Wiimote& operator=(Wiimote&&) = default;
|
Wiimote& operator=(Wiimote&&) = delete;
|
||||||
|
|
||||||
virtual ~Wiimote() {}
|
virtual ~Wiimote() {}
|
||||||
// This needs to be called in derived destructors!
|
// This needs to be called in derived destructors!
|
||||||
|
|
Loading…
Reference in New Issue