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/neighbor.hpp b/src/neighbor.hpp
index cca9c11..26859c3 100644
--- a/src/neighbor.hpp
+++ b/src/neighbor.hpp
@@ -22,7 +22,7 @@
using NeighborIntf = sdbusplus::xyz::openbmc_project::Network::server::Neighbor;
-using NeighborObj = sdbusplus::server::object::object<
+using NeighborObj = sdbusplus::server::object_t<
NeighborIntf, sdbusplus::xyz::openbmc_project::Object::server::Delete>;
class EthernetInterface;
@@ -80,7 +80,7 @@
* @param[in] macAddress - Low level MAC address.
* @param[in] state - The state of the neighbor entry.
*/
- Neighbor(sdbusplus::bus::bus& bus, const char* objPath,
+ Neighbor(sdbusplus::bus_t& bus, const char* objPath,
EthernetInterface& parent, const std::string& ipAddress,
const std::string& macAddress, State state);