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: If971e4e612234a1bd10424a27e2a3226113c6deb
diff --git a/src/peci_pcie.cpp b/src/peci_pcie.cpp
index 3ebadef..0c1a070 100644
--- a/src/peci_pcie.cpp
+++ b/src/peci_pcie.cpp
@@ -854,13 +854,13 @@
{
std::cerr << "Start OperatingSystemState Monitor\n";
- static sdbusplus::bus::match::match osStateMatch(
+ static sdbusplus::bus::match_t osStateMatch(
*conn,
"type='signal',interface='org.freedesktop.DBus.Properties',member='"
"PropertiesChanged',arg0='xyz.openbmc_project.State.OperatingSystem."
"Status'",
[&io, &objServer, &osStandbyTimer,
- &cpuInfo](sdbusplus::message::message& msg) {
+ &cpuInfo](sdbusplus::message_t& msg) {
// Get the OS State from the message
std::string osStateInterface;
boost::container::flat_map<std::string, std::variant<std::string>>