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: I9cedddf4dc9b224ecbc2f68e6b00c0ab1885a826
diff --git a/epoch_base.hpp b/epoch_base.hpp
index 89a7b85..ed761f8 100644
--- a/epoch_base.hpp
+++ b/epoch_base.hpp
@@ -20,21 +20,21 @@
* DBus API for epoch time.
*/
class EpochBase :
- public sdbusplus::server::object::object<
+ public sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Time::server::EpochTime>,
public PropertyChangeListner
{
public:
friend class TestEpochBase;
- EpochBase(sdbusplus::bus::bus& bus, const char* objPath);
+ EpochBase(sdbusplus::bus_t& bus, const char* objPath);
/** @brief Notified on time mode changed */
void onModeChanged(Mode mode) override;
protected:
/** @brief Persistent sdbusplus DBus connection */
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
/** @brief The current time mode */
Mode timeMode = DEFAULT_TIME_MODE;