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: Iac76ba81d91fe61aa24de8d50774b5fa7349cae9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/host-bmc/custom_dbus.hpp b/host-bmc/custom_dbus.hpp
index 6ff7daa..a320641 100644
--- a/host-bmc/custom_dbus.hpp
+++ b/host-bmc/custom_dbus.hpp
@@ -16,9 +16,9 @@
{
using ObjectPath = std::string;
-using LocationIntf = sdbusplus::server::object::object<
- sdbusplus::xyz::openbmc_project::Inventory::Decorator::server::
- LocationCode>;
+using LocationIntf =
+ sdbusplus::server::object_t<sdbusplus::xyz::openbmc_project::Inventory::
+ Decorator::server::LocationCode>;
/** @class CustomDBus
* @brief This is a custom D-Bus object, used to add D-Bus interface and update