Closed gabonator closed 1 year ago
Thanks for the bug report (and solution). I'm not sure why I don't see this when building in CI or locally but seems like a pretty obvious and easy fix. Change up at https://gerrit.openbmc.org/c/openbmc/phosphor-state-manager/+/66216.
Getting errors when trying to compile, related to mismatched declaration of overridden methods:
hypervisor_state_manager.hpp
is trying to overridecurrentHostState
methods:While the declaration in
subprojects/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Host/server.hpp
looks like this:Following patch fixes the issue (note the missing
const
qualifier):