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/interface_ops.hpp b/interface_ops.hpp
index 98b0ffb..8806fdc 100644
--- a/interface_ops.hpp
+++ b/interface_ops.hpp
@@ -47,7 +47,7 @@
template <typename T, typename Enable = void>
struct MakeInterface
{
- static std::any op(sdbusplus::bus::bus& bus, const char* path,
+ static std::any op(sdbusplus::bus_t& bus, const char* path,
const Interface&, bool)
{
return std::any(std::make_shared<T>(bus, path));
@@ -57,7 +57,7 @@
template <typename T>
struct MakeInterface<T, std::enable_if_t<HasProperties<T>::value>>
{
- static std::any op(sdbusplus::bus::bus& bus, const char* path,
+ static std::any op(sdbusplus::bus_t& bus, const char* path,
const Interface& props, bool deferSignal)
{
using InterfaceVariant =