dbus_utility: Remove ManagedItem type alias
Type alias ManagedItem is identical to ManagedObjectType::value_type,
remove it.
Tested:
Build pass. No significant change in compressed binary size.
Change-Id: I6d0f0498399ee639d8a5445fe908a7c311327e41
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp
index 4ee7eaf..bd0d64b 100644
--- a/include/dbus_utility.hpp
+++ b/include/dbus_utility.hpp
@@ -75,11 +75,6 @@
using ManagedObjectType =
std::vector<std::pair<sdbusplus::message::object_path, DBusInteracesMap>>;
-using ManagedItem = std::pair<
- sdbusplus::message::object_path,
- std::vector<std::pair<
- std::string, std::vector<std::pair<std::string, DbusVariantType>>>>>;
-
// Map of service name to list of interfaces
using MapperServiceMap =
std::vector<std::pair<std::string, std::vector<std::string>>>;
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 34e9f73..e806bfa 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -328,8 +328,8 @@
}
inline void parseDumpEntryFromDbusObject(
- const dbus::utility::ManagedItem& object, std::string& dumpStatus,
- uint64_t& size, uint64_t& timestamp,
+ const dbus::utility::ManagedObjectType::value_type& object,
+ std::string& dumpStatus, uint64_t& size, uint64_t& timestamp,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
{
for (const auto& interfaceMap : object.second)