#
d769c6d1 |
| 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
host-bmc: motherboard: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:6: ../host-bmc/dbus/motherboard.hpp:29
host-bmc: motherboard: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:6: ../host-bmc/dbus/motherboard.hpp:29:5: error: explicitly defaulted move constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 29 | Motherboard(Motherboard&&) = default; | ^ ../host-bmc/dbus/motherboard.hpp:22:21: note: move constructor of 'Motherboard' is implicitly deleted because base class 'ItemMotherboard' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::board::Motherboard>') has a deleted move constructor 22 | class Motherboard : public ItemMotherboard | ^ ../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:54:5: note: 'object' has been explicitly marked deleted here 54 | object(object&&) = delete; | ^ ../host-bmc/dbus/motherboard.hpp:29:34: note: replace 'default' with 'delete' 29 | Motherboard(Motherboard&&) = default; | ^~~~~~~ | delete ../host-bmc/dbus/motherboard.hpp:30:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 30 | Motherboard& operator=(Motherboard&&) = default; | ^ ../host-bmc/dbus/motherboard.hpp:22:21: note: move assignment operator of 'Motherboard' is implicitly deleted because base class 'ItemMotherboard' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::board::Motherboard>') has a deleted move assignment operator 22 | class Motherboard : public ItemMotherboard | ^ ../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/motherboard.hpp:30:45: note: replace 'default' with 'delete' 30 | Motherboard& operator=(Motherboard&&) = default; | ^~~~~~~ | delete ```
Change-Id: If739f3d044c559f56dab143d5c53800a9d6f5082 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
2ed986c9 |
| 08-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Implementing Motherboard interface
This commit adds support to host motherboard interface which can be used to generate Dbus Object paths. The Dbus object paths will be represents the hardware compo
Implementing Motherboard interface
This commit adds support to host motherboard interface which can be used to generate Dbus Object paths. The Dbus object paths will be represents the hardware components within the system architecture and help to understand the architecture better way. The motherboard will represent the system board and other entity are connected to it. The interface is implemented at:[1]
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Board/Motherboard.interface.yaml
Change-Id: Ie7987ea0fb03d2d6ffd9e485924cfea7446d97d9 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|