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: Ibc25db433a6926f7ee43ea83312c3ac14f480c33
diff --git a/elog_entry.hpp b/elog_entry.hpp
index 609f905..87cc7ea 100644
--- a/elog_entry.hpp
+++ b/elog_entry.hpp
@@ -16,7 +16,7 @@
namespace logging
{
-using EntryIfaces = sdbusplus::server::object::object<
+using EntryIfaces = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Logging::server::Entry,
sdbusplus::xyz::openbmc_project::Object::server::Delete,
sdbusplus::xyz::openbmc_project::Association::server::Definitions,
@@ -62,9 +62,9 @@
* @param[in] filePath - Serialization path
* @param[in] parent - The error's parent.
*/
- Entry(sdbusplus::bus::bus& bus, const std::string& objectPath,
- uint32_t idErr, uint64_t timestampErr, Level severityErr,
- std::string&& msgErr, std::vector<std::string>&& additionalDataErr,
+ Entry(sdbusplus::bus_t& bus, const std::string& objectPath, uint32_t idErr,
+ uint64_t timestampErr, Level severityErr, std::string&& msgErr,
+ std::vector<std::string>&& additionalDataErr,
AssociationList&& objects, const std::string& fwVersion,
const std::string& filePath, internal::Manager& parent) :
EntryIfaces(bus, objectPath.c_str(), EntryIfaces::action::defer_emit),
@@ -98,7 +98,7 @@
* @param[in] id - The error entry id.
* @param[in] parent - The error's parent.
*/
- Entry(sdbusplus::bus::bus& bus, const std::string& path, uint32_t entryId,
+ Entry(sdbusplus::bus_t& bus, const std::string& path, uint32_t entryId,
internal::Manager& parent) :
EntryIfaces(bus, path.c_str(), EntryIfaces::action::defer_emit),
parent(parent)