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: I9541d521bf67882215a4a66dce020e38ac2df065
diff --git a/occ_ffdc.cpp b/occ_ffdc.cpp
index 3ec42be..3f10dbe 100644
--- a/occ_ffdc.cpp
+++ b/occ_ffdc.cpp
@@ -77,7 +77,7 @@
response.read(reply);
plid = std::get<1>(reply);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
log<level::ERR>("Failed to create PEL");
}
@@ -119,7 +119,7 @@
method.append(path, level, additionalData);
bus.call(method);
}
- catch (const sdbusplus::exception::exception& e)
+ catch (const sdbusplus::exception_t& e)
{
log<level::ERR>(
fmt::format("Failed to create PEL: {}", e.what()).c_str());