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: If9a7314dade153dd7dbd149a76352aca8257839d
diff --git a/ubi/activation_ubi.hpp b/ubi/activation_ubi.hpp
index 957ee06..26d4209 100644
--- a/ubi/activation_ubi.hpp
+++ b/ubi/activation_ubi.hpp
@@ -16,7 +16,7 @@
class RedundancyPriorityUbi : public RedundancyPriority
{
public:
- RedundancyPriorityUbi(sdbusplus::bus::bus& bus, const std::string& path,
+ RedundancyPriorityUbi(sdbusplus::bus_t& bus, const std::string& path,
Activation& parent, uint8_t value) :
RedundancyPriority(bus, path, parent, value)
{
@@ -60,7 +60,7 @@
*created as part of the activation process. **/
bool ubiVolumesCreated = false;
- void unitStateChange(sdbusplus::message::message& msg) override;
+ void unitStateChange(sdbusplus::message_t& msg) override;
void startActivation() override;
void finishActivation() override;
};