diff options
author | Ed Tanous <edtanous@google.com> | 2022-02-22 23:02:23 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-01 21:05:19 +0300 |
commit | 630c3171249b24b1639f37238edc10292715c2bf (patch) | |
tree | b612351d5ff80dbabe23ec09e39b44aabd898aa1 /include/dbus_utility.hpp | |
parent | ea2e6eeca15f4019923466f7c8ccc52c53a5ea94 (diff) | |
download | bmcweb-630c3171249b24b1639f37238edc10292715c2bf.tar.xz |
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 <edtanous@google.com>
Change-Id: I91085cfa2cf8d70e0f0fa0f2f3927776667d834f
Diffstat (limited to 'include/dbus_utility.hpp')
-rw-r--r-- | include/dbus_utility.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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::string, DbusVariantType>>>; + std::vector<std::pair< + std::string, std::vector<std::pair<std::string, DbusVariantType>>>>>; // Map of service name to list of interfaces using MapperServiceMap = |