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: If9a7314dade153dd7dbd149a76352aca8257839d
diff --git a/msl_verify.cpp b/msl_verify.cpp
index e59e250..1be1d04 100644
--- a/msl_verify.cpp
+++ b/msl_verify.cpp
@@ -93,7 +93,7 @@
{
response.read(associations);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
log<level::ERR>("Failed to read software associations",
entry("ERROR=%s", e.what()),
@@ -123,7 +123,7 @@
response.read(functionalVersion);
return std::get<std::string>(functionalVersion);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
log<level::ERR>(
"Failed to read version property",