Просмотр исходного кода

Merge pull request #5155 from comex/xx-default

Fix "explicitly defaulted but implicitly deleted" warning
LC 5 лет назад
Родитель
Сommit
5933667cb8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/kernel/physical_core.h

+ 1 - 1
src/core/hle/kernel/physical_core.h

@@ -36,7 +36,7 @@ public:
     PhysicalCore& operator=(const PhysicalCore&) = delete;
     PhysicalCore& operator=(const PhysicalCore&) = delete;
 
 
     PhysicalCore(PhysicalCore&&) = default;
     PhysicalCore(PhysicalCore&&) = default;
-    PhysicalCore& operator=(PhysicalCore&&) = default;
+    PhysicalCore& operator=(PhysicalCore&&) = delete;
 
 
     /// Initialize the core for the specified parameters.
     /// Initialize the core for the specified parameters.
     void Initialize(bool is_64_bit);
     void Initialize(bool is_64_bit);