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: If2c7da2a8105c39fb0eadf0a86337165b0fe4aa1
diff --git a/src/entity_manager.cpp b/src/entity_manager.cpp
index 641d3f9..4a730b0 100644
--- a/src/entity_manager.cpp
+++ b/src/entity_manager.cpp
@@ -1090,24 +1090,24 @@
// org.freedesktop.DBus.Properties signals. Similarly if a process exits
// for any reason, expected or otherwise, we'll need a poke to remove
// entities from DBus.
- sdbusplus::bus::match::match nameOwnerChangedMatch(
- static_cast<sdbusplus::bus::bus&>(*systemBus),
+ sdbusplus::bus::match_t nameOwnerChangedMatch(
+ static_cast<sdbusplus::bus_t&>(*systemBus),
sdbusplus::bus::match::rules::nameOwnerChanged(),
- [&](sdbusplus::message::message&) {
+ [&](sdbusplus::message_t&) {
propertiesChangedCallback(systemConfiguration, objServer);
});
// We also need a poke from DBus when new interfaces are created or
// destroyed.
- sdbusplus::bus::match::match interfacesAddedMatch(
- static_cast<sdbusplus::bus::bus&>(*systemBus),
+ sdbusplus::bus::match_t interfacesAddedMatch(
+ static_cast<sdbusplus::bus_t&>(*systemBus),
sdbusplus::bus::match::rules::interfacesAdded(),
- [&](sdbusplus::message::message&) {
+ [&](sdbusplus::message_t&) {
propertiesChangedCallback(systemConfiguration, objServer);
});
- sdbusplus::bus::match::match interfacesRemovedMatch(
- static_cast<sdbusplus::bus::bus&>(*systemBus),
+ sdbusplus::bus::match_t interfacesRemovedMatch(
+ static_cast<sdbusplus::bus_t&>(*systemBus),
sdbusplus::bus::match::rules::interfacesRemoved(),
- [&](sdbusplus::message::message&) {
+ [&](sdbusplus::message_t&) {
propertiesChangedCallback(systemConfiguration, objServer);
});