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: I662faee19b7b289bc0a39665fc5ce9e19406f933
diff --git a/settings_manager.mako.hpp b/settings_manager.mako.hpp
index 186a6c2..6f14612 100644
--- a/settings_manager.mako.hpp
+++ b/settings_manager.mako.hpp
@@ -99,14 +99,14 @@
<% aliases.append("Iface" + str(index)) %>\
% endfor
<%
- parent = "sdbusplus::server::object::object" + "<" + ", ".join(aliases) + ">"
+ parent = "sdbusplus::server::object_t" + "<" + ", ".join(aliases) + ">"
%>\
using Parent = ${parent};
class Impl : public Parent
{
public:
- Impl(sdbusplus::bus::bus& bus, const char* path):
+ Impl(sdbusplus::bus_t& bus, const char* path):
Parent(bus, path, Parent::action::defer_emit),
path(path)
{
@@ -272,7 +272,7 @@
/** @brief Constructor to put settings objects on to the bus.
* @param[in] bus - Bus to attach to.
*/
- explicit Manager(sdbusplus::bus::bus& bus) :
+ explicit Manager(sdbusplus::bus_t& bus) :
settings(
std::make_tuple(
% for index, path in enumerate(objects):