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: I7f26c74901de1de9268782fb3c0ebb3fc26ffcdd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 91f7804..8a893e3 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -429,7 +429,7 @@
crow::connections::systemBus->async_method_call(
[asyncResp, roleMapObjData, serverType, index,
remoteGroup](const boost::system::error_code& ec,
- const sdbusplus::message::message& msg) {
+ const sdbusplus::message_t& msg) {
if (ec)
{
const sd_bus_error* dbusError = msg.get_error();
@@ -466,7 +466,7 @@
crow::connections::systemBus->async_method_call(
[asyncResp, roleMapObjData, serverType, index,
localRole](const boost::system::error_code& ec,
- const sdbusplus::message::message& msg) {
+ const sdbusplus::message_t& msg) {
if (ec)
{
const sd_bus_error* dbusError = msg.get_error();
@@ -803,9 +803,8 @@
const std::string& ldapConfigObject)
{
crow::connections::systemBus->async_method_call(
- [asyncResp, ldapServerElementName,
- serviceAddressList](const boost::system::error_code& ec,
- sdbusplus::message::message& msg) {
+ [asyncResp, ldapServerElementName, serviceAddressList](
+ const boost::system::error_code& ec, sdbusplus::message_t& msg) {
if (ec)
{
const sd_bus_error* dbusError = msg.get_error();
@@ -922,7 +921,7 @@
crow::connections::systemBus->async_method_call(
[asyncResp, baseDNList,
ldapServerElementName](const boost::system::error_code& ec,
- const sdbusplus::message::message& msg) {
+ const sdbusplus::message_t& msg) {
if (ec)
{
BMCWEB_LOG_DEBUG << "Error Occurred in Updating the base DN";