host-bmc: cpu_core: Delete move methods
```
In file included from ../host-bmc/host_pdr_handler.cpp:7:
In file included from ../host-bmc/dbus/custom_dbus.hpp:5:
../host-bmc/dbus/cpu_core.hpp:24:5: error: explicitly defaulted move constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
24 | CPUCore(CPUCore&&) = default;
| ^
../host-bmc/dbus/cpu_core.hpp:17:17: note: move constructor of 'CPUCore' is implicitly deleted because base class 'CoreIntf' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::CpuCore>') has a deleted move constructor
17 | class CPUCore : public CoreIntf
| ^
../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:54:5: note: 'object' has been explicitly marked deleted here
54 | object(object&&) = delete;
| ^
../host-bmc/dbus/cpu_core.hpp:24:26: note: replace 'default' with 'delete'
24 | CPUCore(CPUCore&&) = default;
| ^~~~~~~
| delete
../host-bmc/dbus/cpu_core.hpp:25:14: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
25 | CPUCore& operator=(CPUCore&&) = default;
| ^
../host-bmc/dbus/cpu_core.hpp:17:17: note: move assignment operator of 'CPUCore' is implicitly deleted because base class 'CoreIntf' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::CpuCore>') has a deleted move assignment operator
17 | class CPUCore : public CoreIntf
| ^
../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:55:13: note: 'operator=' has been explicitly marked deleted here
55 | object& operator=(object&&) = delete;
| ^
../host-bmc/dbus/cpu_core.hpp:25:37: note: replace 'default' with 'delete'
25 | CPUCore& operator=(CPUCore&&) = default;
| ^~~~~~~
| delete
```
Change-Id: I190cf07cce199945df1b527b355c41091860a95a
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/host-bmc/dbus/cpu_core.hpp b/host-bmc/dbus/cpu_core.hpp
index 3a58529..134a545 100644
--- a/host-bmc/dbus/cpu_core.hpp
+++ b/host-bmc/dbus/cpu_core.hpp
@@ -21,8 +21,8 @@
~CPUCore() = default;
CPUCore(const CPUCore&) = delete;
CPUCore& operator=(const CPUCore&) = delete;
- CPUCore(CPUCore&&) = default;
- CPUCore& operator=(CPUCore&&) = default;
+ CPUCore(CPUCore&&) = delete;
+ CPUCore& operator=(CPUCore&&) = delete;
CPUCore(sdbusplus::bus_t& bus, const std::string& objPath) :
CoreIntf(bus, objPath.c_str())