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: I19e094a2a99893627dbb82b615f630b87ad90fdd
diff --git a/phosphor-ldap-config/ldap_mapper_entry.hpp b/phosphor-ldap-config/ldap_mapper_entry.hpp
index efafeae..1c0c87f 100644
--- a/phosphor-ldap-config/ldap_mapper_entry.hpp
+++ b/phosphor-ldap-config/ldap_mapper_entry.hpp
@@ -14,7 +14,7 @@
using Entry =
sdbusplus::xyz::openbmc_project::User::server::PrivilegeMapperEntry;
using Delete = sdbusplus::xyz::openbmc_project::Object::server::Delete;
-using Interfaces = sdbusplus::server::object::object<Entry, Delete>;
+using Interfaces = sdbusplus::server::object_t<Entry, Delete>;
// Forward declaration for Config
class Config;
@@ -44,7 +44,7 @@
* @param[in] privilege - the privilege for the group
* @param[in] parent - LDAP privilege mapper manager
*/
- LDAPMapperEntry(sdbusplus::bus::bus& bus, const char* path,
+ LDAPMapperEntry(sdbusplus::bus_t& bus, const char* path,
const char* filePath, const std::string& groupName,
const std::string& privilege, Config& parent);
@@ -55,7 +55,7 @@
* @param[in] filePath - serialization directory path
* @param[in] parent - LDAP privilege mapper manager
*/
- LDAPMapperEntry(sdbusplus::bus::bus& bus, const char* path,
+ LDAPMapperEntry(sdbusplus::bus_t& bus, const char* path,
const char* filePath, Config& parent);
/** @brief Delete privilege mapper entry object