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 /src | |
| 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 'src')
| -rw-r--r-- | src/dbus_utility.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<const std::string_view> interfaces, std::function<void(const boost::system::error_code&, const MapperGetSubTreeResponse&)>&& 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<const std::string_view> interfaces, std::function<void(const boost::system::error_code&, const MapperGetSubTreePathsResponse&)>&& 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<void(const boost::system::error_code&, const ManagedObjectType&)>&& callback) { |
