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_vlan_interface.cpp b/test/test_vlan_interface.cpp
index 2dd78b8..ea8eb01 100644
--- a/test/test_vlan_interface.cpp
+++ b/test/test_vlan_interface.cpp
@@ -25,7 +25,7 @@
class TestVlanInterface : public stdplus::gtest::TestWithTmp
{
public:
- sdbusplus::bus::bus bus;
+ sdbusplus::bus_t bus;
std::string confDir;
MockManager manager;
EthernetInterface interface;
@@ -37,7 +37,7 @@
{
}
- static EthernetInterface makeInterface(sdbusplus::bus::bus& bus,
+ static EthernetInterface makeInterface(sdbusplus::bus_t& bus,
MockManager& manager)
{
mock_clear();