Consistently use ManagedObjectType
Some subsystems seem to have invented their own typedefs for this stuff,
move to using the one typedef in dbus::utility so we're consistent, and
we reduce our templates.
Tested: code compiles
This saves a negligible amount (104 bytes compressed) on our binary
size.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I952ea1f960aa703808d0ac80f35dc24cdd8d5027
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp
index a971325..4853231 100644
--- a/include/dbus_utility.hpp
+++ b/include/dbus_utility.hpp
@@ -56,10 +56,8 @@
>;
// clang-format on
-using DBusPropertiesMap =
- boost::container::flat_map<std::string, DbusVariantType>;
-using DBusInteracesMap =
- boost::container::flat_map<std::string, DBusPropertiesMap>;
+using DBusPropertiesMap = std::vector<std::pair<std::string, DbusVariantType>>;
+using DBusInteracesMap = std::vector<std::pair<std::string, DBusPropertiesMap>>;
using ManagedObjectType =
std::vector<std::pair<sdbusplus::message::object_path, DBusInteracesMap>>;