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/reset_button.hpp b/inc/reset_button.hpp
index fea82b6..925bed1 100644
--- a/inc/reset_button.hpp
+++ b/inc/reset_button.hpp
@@ -31,14 +31,14 @@
static constexpr std::string_view RESET_BUTTON = "RESET_BUTTON";
class ResetButton :
- public sdbusplus::server::object::object<
+ public sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Chassis::Buttons::server::Reset>,
public ButtonIface
{
public:
- ResetButton(sdbusplus::bus::bus& bus, const char* path, EventPtr& event,
+ ResetButton(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::Reset>(
bus, path),
ButtonIface(bus, event, buttonCfg)