diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-07-23 03:26:55 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-07-25 06:27:22 +0300 |
commit | 59d494ee9608850f17bd7f4644838c26daab2669 (patch) | |
tree | 80baf245361db6eb78181e782e79e1ab6da095a9 /redfish-core/lib/account_service.hpp | |
parent | d5c80ad9c07b94465d8ea62d2b6f87c30cac765e (diff) | |
download | bmcweb-59d494ee9608850f17bd7f4644838c26daab2669.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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I46a5eec210002af84239af74a93c830b1d4a13f1
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
-rw-r--r-- | redfish-core/lib/account_service.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp index f8ba322566..9a8142da66 100644 --- a/redfish-core/lib/account_service.hpp +++ b/redfish-core/lib/account_service.hpp @@ -1584,7 +1584,7 @@ inline void handleAccountCollectionPost( crow::connections::systemBus->async_method_call( [asyncResp, username, password](const boost::system::error_code ec2, - sdbusplus::message::message& m) { + sdbusplus::message_t& m) { if (ec2) { userErrorMessageHandler(m.get_error(), asyncResp, username, ""); @@ -1900,8 +1900,7 @@ inline void crow::connections::systemBus->async_method_call( [asyncResp, username, password(std::move(password)), roleId(std::move(roleId)), enabled, newUser{std::string(*newUserName)}, - locked](const boost::system::error_code ec, - sdbusplus::message::message& m) { + locked](const boost::system::error_code ec, sdbusplus::message_t& m) { if (ec) { userErrorMessageHandler(m.get_error(), asyncResp, newUser, |