From 630c3171249b24b1639f37238edc10292715c2bf Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 22 Feb 2022 12:02:23 -0800 Subject: Remove flat_maps from our dbus parsing types There's nowhere in the codebase where we actually use these as maps. 99% of the time, we just iterate and pull these into specific data structures anyway, so there's no reason for them to be maps. This saves a negligible amount (600 bytes) on our compressed binary size. Signed-off-by: Ed Tanous Change-Id: I91085cfa2cf8d70e0f0fa0f2f3927776667d834f --- include/dbus_utility.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/dbus_utility.hpp') diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp index 0ed0bbc83e..eefc115aab 100644 --- a/include/dbus_utility.hpp +++ b/include/dbus_utility.hpp @@ -63,8 +63,8 @@ using ManagedObjectType = using ManagedItem = std::pair< sdbusplus::message::object_path, - boost::container::flat_map< - std::string, boost::container::flat_map>>; + std::vector>>>>; // Map of service name to list of interfaces using MapperServiceMap = -- cgit v1.2.3