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: I17807e986cefa6a3d9e757c533ac373035438aed
diff --git a/include/rde/external_storer_file.hpp b/include/rde/external_storer_file.hpp
index f6a6281..bb853f4 100644
--- a/include/rde/external_storer_file.hpp
+++ b/include/rde/external_storer_file.hpp
@@ -83,13 +83,13 @@
* will take the ownership of this object.
*/
ExternalStorerFileInterface(
- sdbusplus::bus::bus& bus, std::string_view rootPath,
+ sdbusplus::bus_t& bus, std::string_view rootPath,
std::unique_ptr<FileHandlerInterface> fileHandler);
bool publishJson(std::string_view jsonStr) override;
private:
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
std::string rootPath;
std::unique_ptr<FileHandlerInterface> fileHandler;
std::string logServiceId;