summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar comex2020-08-31 10:38:58 -0400
committerGravatar comex2020-12-06 19:02:04 -0500
commite31cb50405daae5d7189a98da272ca6c08ca8e04 (patch)
treef8ee8a9de18e0aa21f5675573b27755067a11e13 /src
parentMerge pull request #5146 from comex/xx-num (diff)
downloadyuzu-e31cb50405daae5d7189a98da272ca6c08ca8e04.tar.gz
yuzu-e31cb50405daae5d7189a98da272ca6c08ca8e04.tar.xz
yuzu-e31cb50405daae5d7189a98da272ca6c08ca8e04.zip
Fix "explicitly defaulted but implicitly deleted" warning
`PhysicalCore`'s move assignment operator was declared as `= default`, but was implicitly deleted because `PhysicalCore` has fields of reference type. Switch to explicitly deleting it to avoid a Clang warning. The move *constructor* is still defaulted, and is required to exist due to the use of `std::vector<PhysicalCore>`.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/physical_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/physical_core.h b/src/core/hle/kernel/physical_core.h
index 37513130a..801d24c28 100644
--- a/src/core/hle/kernel/physical_core.h
+++ b/src/core/hle/kernel/physical_core.h
@@ -36,7 +36,7 @@ public:
36 PhysicalCore& operator=(const PhysicalCore&) = delete; 36 PhysicalCore& operator=(const PhysicalCore&) = delete;
37 37
38 PhysicalCore(PhysicalCore&&) = default; 38 PhysicalCore(PhysicalCore&&) = default;
39 PhysicalCore& operator=(PhysicalCore&&) = default; 39 PhysicalCore& operator=(PhysicalCore&&) = delete;
40 40
41 /// Initialize the core for the specified parameters. 41 /// Initialize the core for the specified parameters.
42 void Initialize(bool is_64_bit); 42 void Initialize(bool is_64_bit);