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: Ibc25db433a6926f7ee43ea83312c3ac14f480c33
diff --git a/test/elog_errorwrap_test.hpp b/test/elog_errorwrap_test.hpp
index d5a4b33..553e2e8 100644
--- a/test/elog_errorwrap_test.hpp
+++ b/test/elog_errorwrap_test.hpp
@@ -68,7 +68,7 @@
class MockJournal : public Manager
{
public:
- MockJournal(sdbusplus::bus::bus& bus, const char* objPath) :
+ MockJournal(sdbusplus::bus_t& bus, const char* objPath) :
Manager(bus, objPath){};
MOCK_METHOD0(journalSync, void());
MOCK_METHOD2(sd_journal_open, int(sd_journal**, int));
@@ -80,7 +80,7 @@
class TestLogManager : public testing::Test
{
public:
- sdbusplus::bus::bus bus;
+ sdbusplus::bus_t bus;
MockJournal manager;
TestLogManager() :
bus(sdbusplus::bus::new_default()),