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
Change-Id: Iaf9bb4a5ea6a04cf1c65fc0f32b1cca833ccdb71
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd-manager/editor_impl.cpp b/vpd-manager/editor_impl.cpp
index 27f1a80..4d81278 100644
--- a/vpd-manager/editor_impl.cpp
+++ b/vpd-manager/editor_impl.cpp
@@ -514,7 +514,7 @@
method.append("reboot-guard-enable.service", "replace");
bus.call_noreply(method);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
std::string errMsg =
"Bus call to enable BMC reboot failed for reason: ";
@@ -535,7 +535,7 @@
method.append("reboot-guard-disable.service", "replace");
bus.call_noreply(method);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
using namespace phosphor::logging;
using InternalFailure =