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: I41103c892db258a85640aa1442acd9a295c8a847
diff --git a/host_condition_gpio/host_condition.hpp b/host_condition_gpio/host_condition.hpp
index eaeefc7..35d8313 100644
--- a/host_condition_gpio/host_condition.hpp
+++ b/host_condition_gpio/host_condition.hpp
@@ -11,7 +11,7 @@
namespace condition
{
-using HostIntf = sdbusplus::server::object::object<
+using HostIntf = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Condition::server::HostFirmware>;
class Host : public HostIntf
@@ -24,7 +24,7 @@
Host& operator=(Host&&) = delete;
virtual ~Host() = default;
- Host(sdbusplus::bus::bus& bus, const std::string& path,
+ Host(sdbusplus::bus_t& bus, const std::string& path,
const std::string& hostId) :
HostIntf(bus, path.c_str()),
lineName("host" + hostId)