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
Change-Id: I1621db436cb5e81ca597f5b9dac76452c6e7fd74
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/user_role_map.hpp b/include/user_role_map.hpp
index ce2f97e..b574c4e 100644
--- a/include/user_role_map.hpp
+++ b/include/user_role_map.hpp
@@ -100,7 +100,7 @@
return fields;
}
- void userAdded(sdbusplus::message::message& m)
+ void userAdded(sdbusplus::message_t& m)
{
BMCWEB_LOG_DEBUG("User Added");
sdbusplus::message::object_path objPath;
@@ -136,7 +136,7 @@
}
}
- void userRemoved(sdbusplus::message::message& m)
+ void userRemoved(sdbusplus::message_t& m)
{
BMCWEB_LOG_DEBUG("User Removed");
sdbusplus::message::object_path objPath;
@@ -164,7 +164,7 @@
roleMap.erase(name);
}
- void userPropertiesChanged(sdbusplus::message::message& m)
+ void userPropertiesChanged(sdbusplus::message_t& m)
{
BMCWEB_LOG_DEBUG("Properties Changed");
std::string interface;