summaryrefslogtreecommitdiff
path: root/redfish-core/lib/processor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/processor.hpp')
-rw-r--r--redfish-core/lib/processor.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/redfish-core/lib/processor.hpp b/redfish-core/lib/processor.hpp
index b74b05ce2c..f304eb86c0 100644
--- a/redfish-core/lib/processor.hpp
+++ b/redfish-core/lib/processor.hpp
@@ -32,10 +32,6 @@
namespace redfish
{
-using InterfacesProperties = boost::container::flat_map<
- std::string,
- boost::container::flat_map<std::string, dbus::utility::DbusVariantType>>;
-
// Interfaces which imply a D-Bus object represents a Processor
constexpr std::array<const char*, 2> processorInterfaces = {
"xyz.openbmc_project.Inventory.Item.Cpu",
@@ -1072,8 +1068,10 @@ inline void requestRoutesOperatingConfigCollection(App& app)
// First find the matching CPU object so we know how to
// constrain our search for related Config objects.
crow::connections::systemBus->async_method_call(
- [asyncResp, cpuName](const boost::system::error_code ec,
- const std::vector<std::string>& objects) {
+ [asyncResp,
+ cpuName](const boost::system::error_code ec,
+ const dbus::utility::MapperGetSubTreePathsResponse&
+ objects) {
if (ec)
{
BMCWEB_LOG_WARNING << "D-Bus error: " << ec << ", "