sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Change-Id: I3d7315de3ebd770f1c05979226b932b928b6c109
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/ibm/hypervisor-network-mgr-src/hyp_ethernet_interface.hpp b/src/ibm/hypervisor-network-mgr-src/hyp_ethernet_interface.hpp
index 557db96..b4d0788 100644
--- a/src/ibm/hypervisor-network-mgr-src/hyp_ethernet_interface.hpp
+++ b/src/ibm/hypervisor-network-mgr-src/hyp_ethernet_interface.hpp
@@ -20,7 +20,7 @@
using namespace phosphor::logging;
using HypIP = sdbusplus::xyz::openbmc_project::Network::server::IP;
-using CreateIface = sdbusplus::server::object::object<
+using CreateIface = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Network::server::EthernetInterface,
sdbusplus::xyz::openbmc_project::Network::IP::server::Create>;
@@ -31,7 +31,7 @@
using ObjectPath = sdbusplus::message::object_path;
-static std::shared_ptr<sdbusplus::bus::match::match> matchBIOSAttrUpdate;
+static std::shared_ptr<sdbusplus::bus::match_t> matchBIOSAttrUpdate;
/** @class HypEthernetInterface
* @brief Hypervisor Ethernet Interface implementation.
@@ -51,7 +51,7 @@
* @param[in] path - Path to attach at.
* @param[in] parent - parent object.
*/
- HypEthInterface(sdbusplus::bus::bus& bus, const char* path,
+ HypEthInterface(sdbusplus::bus_t& bus, const char* path,
std::string_view intfName, HypNetworkMgr& parent) :
CreateIface(bus, path, CreateIface::action::defer_emit),
bus(bus), objectPath(path), manager(parent)
@@ -101,7 +101,7 @@
protected:
/** @brief sdbusplus DBus bus connection. */
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
/** @brief object path */
std::string objectPath;