From 36498b406abb3be754e84072d50f16d9dcbbfa8f Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 14 Apr 2026 07:26:31 -0400 Subject: 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 --- src/dbus_utility.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/dbus_utility.cpp b/src/dbus_utility.cpp index 236faa57de..9112f3e243 100644 --- a/src/dbus_utility.cpp +++ b/src/dbus_utility.cpp @@ -108,8 +108,8 @@ void getSubTreePaths( } void getAssociatedSubTree( - const sdbusplus::message::object_path& associatedPath, - const sdbusplus::message::object_path& path, int32_t depth, + const sdbusplus::object_path& associatedPath, + const sdbusplus::object_path& path, int32_t depth, std::span interfaces, std::function&& callback) @@ -125,8 +125,8 @@ void getAssociatedSubTree( } void getAssociatedSubTreePaths( - const sdbusplus::message::object_path& associatedPath, - const sdbusplus::message::object_path& path, int32_t depth, + const sdbusplus::object_path& associatedPath, + const sdbusplus::object_path& path, int32_t depth, std::span interfaces, std::function&& callback) @@ -207,7 +207,7 @@ void getAssociationEndPoints( } void getManagedObjects(const std::string& service, - const sdbusplus::message::object_path& path, + const sdbusplus::object_path& path, std::function&& callback) { -- cgit v1.2.3