commit | ce90da1d9665a3a284e492008db113b8d4d34df2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Nov 19 11:36:18 2021 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Nov 19 14:38:56 2021 -0600 |
tree | 23671bcb9f03b9906323bddb59cc8e8ed9e8bac5 | |
parent | a735ca5cd473e1fbf74584cf445b199332c68271 [diff] [blame] |
slot: shorten slot type Create an alias `sdbusplus::slot_t` to `sdbusplus::slot::slot` to reduce duplication. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0ac45f676f1e52f53b6ea3a5b487d0f183641e37
diff --git a/include/sdbusplus/slot.hpp b/include/sdbusplus/slot.hpp index 27f4a70..5fa9141 100644 --- a/include/sdbusplus/slot.hpp +++ b/include/sdbusplus/slot.hpp
@@ -73,4 +73,7 @@ }; } // namespace slot + +using slot_t = slot::slot; + } // namespace sdbusplus