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: Ie38db6cd54835ce4f3a4eae520e9ad834e0751c1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/healthMonitor.hpp b/healthMonitor.hpp
index 321e3a5..bba3b52 100644
--- a/healthMonitor.hpp
+++ b/healthMonitor.hpp
@@ -64,7 +64,7 @@
sdbusplus::server::object_t<ValueIface, CriticalInterface, WarningInterface,
AssociationDefinitionInterface>;
-using BmcInterface = sdbusplus::server::object::object<
+using BmcInterface = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Inventory::Item::server::Bmc>;
using AssociationTuple = std::tuple<std::string, std::string, std::string>;
@@ -139,7 +139,7 @@
{
public:
BmcInventory() = delete;
- BmcInventory(sdbusplus::bus::bus& bus, const char* objPath) :
+ BmcInventory(sdbusplus::bus_t& bus, const char* objPath) :
BmcInterface(bus, objPath)
{}
};