From 9e8181e80e768645fc6a93748333d690253f66bf Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 18 Oct 2019 14:58:25 -0500 Subject: [PATCH] Core/HW: Fix some explicitly defaulted but implicitly deleted warnings. --- Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.h | 4 ++-- Source/Core/Core/HW/WiimoteReal/WiimoteReal.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.h b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.h index 473c1b713c..2869ba2d32 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.h +++ b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.h @@ -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 GetFileNamesForGameID(const std::string& directory, const std::string& game_id); diff --git a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h index 05421a7fb0..1f20c8a7a1 100644 --- a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h +++ b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h @@ -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!