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/users.hpp b/users.hpp
index 6ff4dfb..a1fcc36 100644
--- a/users.hpp
+++ b/users.hpp
@@ -27,7 +27,7 @@
namespace Base = sdbusplus::xyz::openbmc_project;
using UsersIface = Base::User::server::Attributes;
using DeleteIface = Base::Object::server::Delete;
-using Interfaces = sdbusplus::server::object::object<UsersIface, DeleteIface>;
+using Interfaces = sdbusplus::server::object_t<UsersIface, DeleteIface>;
// Place where all user objects has to be created
constexpr auto usersObjPath = "/xyz/openbmc_project/user";
@@ -55,7 +55,7 @@
* @param[in] enabled - user enabled state
* @param[in] parent - user manager - parent object
*/
- Users(sdbusplus::bus::bus& bus, const char* path,
+ Users(sdbusplus::bus_t& bus, const char* path,
std::vector<std::string> groups, std::string priv, bool enabled,
UserMgr& parent);