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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ief1b330c4f623ecc1be771f36083780a12260834
diff --git a/src/ipaddress.hpp b/src/ipaddress.hpp
index 3ed551a..b78b677 100644
--- a/src/ipaddress.hpp
+++ b/src/ipaddress.hpp
@@ -11,7 +11,7 @@
namespace network
{
-using IPIfaces = sdbusplus::server::object::object<
+using IPIfaces = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Network::server::IP,
sdbusplus::xyz::openbmc_project::Object::server::Delete>;
@@ -45,7 +45,7 @@
* @param[in] prefixLength - Length of prefix.
* @param[in] gateway - gateway address.
*/
- IPAddress(sdbusplus::bus::bus& bus, const char* objPath,
+ IPAddress(sdbusplus::bus_t& bus, const char* objPath,
EthernetInterface& parent, IP::Protocol type,
const std::string& ipAddress, IP::AddressOrigin origin,
uint8_t prefixLength, const std::string& gateway);