#
7a78ced6 |
| 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
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: er
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>
show more ...
|
#
56da5740 |
| 23-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Adding CPUCore interface support
This commit introduces essential D-Bus infrastructure support for hosting the `Item.CPUCore` D-Bus object. Additionally, it includes getter and setter functions to e
Adding CPUCore interface support
This commit introduces essential D-Bus infrastructure support for hosting the `Item.CPUCore` D-Bus object. Additionally, it includes getter and setter functions to enable get/set properties within the `CPUCore` interface, such as core count and microcode.
Testing: Unit test passed
Change-Id: I728522b34e96ee7d6609efb5746b40cf923812e8 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|