diff options
author | Ed Tanous <edtanous@google.com> | 2022-02-27 08:42:46 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-22 20:53:16 +0300 |
commit | b9d36b4791d77a47e1f3c5c4564fcdf7cc68c115 (patch) | |
tree | 22a37e506310ded94a45aed79799929f94bac330 /redfish-core/lib/ethernet.hpp | |
parent | a2dd60a69046cdda90077463f614140aeb91edc4 (diff) | |
download | bmcweb-b9d36b4791d77a47e1f3c5c4564fcdf7cc68c115.tar.xz |
Consitently use dbus::utility types
This saves about 4k on the binary size
Tested: Redfish service validator passes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I9546227a19c691b1aecb80e80307889548c0293f
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r-- | redfish-core/lib/ethernet.hpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp index 227b4e9d9f..85fa633330 100644 --- a/redfish-core/lib/ethernet.hpp +++ b/redfish-core/lib/ethernet.hpp @@ -16,7 +16,6 @@ #pragma once #include <app.hpp> -#include <boost/container/flat_map.hpp> #include <boost/container/flat_set.hpp> #include <dbus_singleton.hpp> #include <dbus_utility.hpp> @@ -30,13 +29,6 @@ namespace redfish { -/** - * DBus types primitives for several generic DBus interfaces - * TODO(Pawel) consider move this to separate file into boost::dbus - */ -using PropertiesMapType = - boost::container::flat_map<std::string, dbus::utility::DbusVariantType>; - enum class LinkType { Local, @@ -1713,7 +1705,7 @@ inline void parseInterfaceData( crow::connections::systemBus->async_method_call( [health](const boost::system::error_code ec, - const std::vector<std::string>& resp) { + const dbus::utility::MapperGetSubTreePathsResponse& resp) { if (ec) { return; |