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: I29672cb229bd07022b00f52105ac1d50ecacca62
diff --git a/procedures/phal/start_host.cpp b/procedures/phal/start_host.cpp
index fc30ecc..2be25f4 100644
--- a/procedures/phal/start_host.cpp
+++ b/procedures/phal/start_host.cpp
@@ -118,7 +118,7 @@
auto result = bus.call(properties);
result.read(val);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
log<level::ERR>("Get HW Keyword read from VINI Failed");
throw std::runtime_error("Get HW Keyword read from VINI Failed");
@@ -264,7 +264,7 @@
{{"REASON_FOR_PEL", trace}});
}
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
const auto trace{fmt::format(
"Exception [{}] to get the HardwareIsolation policy "