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: I8e2242adb79be342562c9b7f3d2153dfdf578085
diff --git a/pldmd/dbus_impl_pdr.hpp b/pldmd/dbus_impl_pdr.hpp
index 2a4a889..822a3b2 100644
--- a/pldmd/dbus_impl_pdr.hpp
+++ b/pldmd/dbus_impl_pdr.hpp
@@ -15,7 +15,7 @@
namespace dbus_api
{
-using PdrIntf = sdbusplus::server::object::object<
+using PdrIntf = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::PLDM::server::PDR>;
/** @class Pdr
@@ -38,10 +38,8 @@
* @param[in] path - Path to attach at.
* @param[in] repo - pointer to BMC's primary PDR repo
*/
- Pdr(sdbusplus::bus::bus& bus, const std::string& path,
- const pldm_pdr* repo) :
- PdrIntf(bus, path.c_str()),
- pdrRepo(repo){};
+ Pdr(sdbusplus::bus_t& bus, const std::string& path, const pldm_pdr* repo) :
+ PdrIntf(bus, path.c_str()), pdrRepo(repo){};
/** @brief Implementation for PdrIntf.FindStateEffecterPDR
* @param[in] tid - PLDM terminus ID.