diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2026-04-14 14:26:31 +0300 |
|---|---|---|
| committer | Ed Tanous <ed@tanous.net> | 2026-04-15 04:50:54 +0300 |
| commit | 36498b406abb3be754e84072d50f16d9dcbbfa8f (patch) | |
| tree | e4e2744ceefa79581eddab2d12790f648231db3c /redfish-core/src/dbus_log_watcher.cpp | |
| parent | f2d97d5f96dc2adeda01cdc7eeff5d8fedc5d33a (diff) | |
| download | bmcweb-36498b406abb3be754e84072d50f16d9dcbbfa8f.tar.xz | |
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
* object_path
Change-Id: Iace20f9ad26e8d9dc234979e7a4087d599da2641
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'redfish-core/src/dbus_log_watcher.cpp')
| -rw-r--r-- | redfish-core/src/dbus_log_watcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/src/dbus_log_watcher.cpp b/redfish-core/src/dbus_log_watcher.cpp index 53d35edd5b..76d1a7d19b 100644 --- a/redfish-core/src/dbus_log_watcher.cpp +++ b/redfish-core/src/dbus_log_watcher.cpp @@ -79,7 +79,7 @@ static void onDbusEventLogCreated(sdbusplus::message_t& msg) { BMCWEB_LOG_DEBUG("Handling new DBus Event Log Entry"); - sdbusplus::message::object_path objectPath; + sdbusplus::object_path objectPath; dbus::utility::DBusInterfacesMap interfaces; msg.read(objectPath, interfaces); @@ -111,7 +111,7 @@ DbusEventLogMonitor::DbusEventLogMonitor() : static void getReadingsForReport(sdbusplus::message_t& msg) { - sdbusplus::message::object_path path(msg.get_path()); + sdbusplus::object_path path(msg.get_path()); std::string id = path.filename(); if (id.empty()) { |
