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: I91502c85799b7d3be22b7d05659ff26bea08c32b
diff --git a/inc/power_button.hpp b/inc/power_button.hpp
index 73336ac..90076f3 100644
--- a/inc/power_button.hpp
+++ b/inc/power_button.hpp
@@ -33,14 +33,14 @@
static constexpr std::string_view POWER_BUTTON = "POWER_BUTTON";
class PowerButton :
- public sdbusplus::server::object::object<
+ public sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::Power>,
public ButtonIface
{
public:
- PowerButton(sdbusplus::bus::bus& bus, const char* path, EventPtr& event,
+ PowerButton(sdbusplus::bus_t& bus, const char* path, EventPtr& event,
buttonConfig& buttonCfg) :
- sdbusplus::server::object::object<
+ sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::Power>(
bus, path),
ButtonIface(bus, event, buttonCfg)