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: Ic63a70d32f4683e0bd92b625cc36c836aa8395a8
diff --git a/test/interface_ops_test.cpp b/test/interface_ops_test.cpp
index 3033423..b6d6ac8 100644
--- a/test/interface_ops_test.cpp
+++ b/test/interface_ops_test.cpp
@@ -52,7 +52,7 @@
struct DummyInterfaceWithoutProperties
{
- DummyInterfaceWithoutProperties(sdbusplus::bus::bus&, const char* name)
+ DummyInterfaceWithoutProperties(sdbusplus::bus_t&, const char* name)
{
g_currentMock->constructWithoutProperties(name);
}
@@ -62,7 +62,7 @@
{
using PropertiesVariant = FakeVariantType;
- DummyInterfaceWithProperties(sdbusplus::bus::bus&, const char* name,
+ DummyInterfaceWithProperties(sdbusplus::bus_t&, const char* name,
const InterfaceVariant& i, bool skipSignal)
{
g_currentMock->constructWithProperties(name, i, skipSignal);