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: I96286490697ce5d7fecc1c9c358f5f1d054137ec
diff --git a/item_updater.cpp b/item_updater.cpp
index c8fda76..96782f2 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -38,7 +38,7 @@
namespace fs = std::filesystem;
using NotAllowed = sdbusplus::xyz::openbmc_project::Common::Error::NotAllowed;
-void ItemUpdater::createActivation(sdbusplus::message::message& msg)
+void ItemUpdater::createActivation(sdbusplus::message_t& msg)
{
using SVersion = server::Version;
@@ -636,7 +636,7 @@
bmcInventoryPath = result.front();
}
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
error("Error in mapper GetSubTreePath: {ERROR}", "ERROR", e);
return;