summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-07-29 10:33:05 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-07-29 10:33:05 +0300
commit32c99a2e37d61b65cb56cfd1c7b22eb28ea539a6 (patch)
treeb274cc0ccf5500ecc8ae978ef21b231c11ae576f /include
parent8ed41c35a314580bb794fa0fff2e01b0bf7efcf7 (diff)
downloadbmcweb-32c99a2e37d61b65cb56cfd1c7b22eb28ea539a6.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/user_role_map.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/user_role_map.hpp b/include/user_role_map.hpp
index ce2f97ed0c..b574c4e7af 100644
--- a/include/user_role_map.hpp
+++ b/include/user_role_map.hpp
@@ -100,7 +100,7 @@ struct UserRoleMap
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 @@ struct UserRoleMap
}
}
- 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 @@ struct UserRoleMap
roleMap.erase(name);
}
- void userPropertiesChanged(sdbusplus::message::message& m)
+ void userPropertiesChanged(sdbusplus::message_t& m)
{
BMCWEB_LOG_DEBUG("Properties Changed");
std::string interface;