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: Ief1b330c4f623ecc1be771f36083780a12260834
diff --git a/test/test_ethernet_interface.cpp b/test/test_ethernet_interface.cpp
index 0846f7e..24fe5fb 100644
--- a/test/test_ethernet_interface.cpp
+++ b/test/test_ethernet_interface.cpp
@@ -25,7 +25,7 @@
class TestEthernetInterface : public stdplus::gtest::TestWithTmp
{
public:
- sdbusplus::bus::bus bus;
+ sdbusplus::bus_t bus;
std::string confDir;
MockManager manager;
MockEthernetInterface interface;
@@ -39,7 +39,7 @@
static constexpr ether_addr mac{0x11, 0x22, 0x33, 0x44, 0x55, 0x66};
- static MockEthernetInterface makeInterface(sdbusplus::bus::bus& bus,
+ static MockEthernetInterface makeInterface(sdbusplus::bus_t& bus,
MockManager& manager)
{
mock_clear();