diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2026-04-14 14:26:31 +0300 |
|---|---|---|
| committer | Ed Tanous <ed@tanous.net> | 2026-04-15 04:50:54 +0300 |
| commit | 36498b406abb3be754e84072d50f16d9dcbbfa8f (patch) | |
| tree | e4e2744ceefa79581eddab2d12790f648231db3c /docs | |
| parent | f2d97d5f96dc2adeda01cdc7eeff5d8fedc5d33a (diff) | |
| download | bmcweb-36498b406abb3be754e84072d50f16d9dcbbfa8f.tar.xz | |
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
* object_path
Change-Id: Iace20f9ad26e8d9dc234979e7a4087d599da2641
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/COMMON_ERRORS.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/COMMON_ERRORS.md b/docs/COMMON_ERRORS.md index d34c45e224..b25dd74404 100644 --- a/docs/COMMON_ERRORS.md +++ b/docs/COMMON_ERRORS.md @@ -301,9 +301,8 @@ avoid doing direct string containment matching. Doing so can lead to errors where fan1 and fan11 both report to the same object, and cause behavior breaks in subtle ways. -When using dbus paths, rely on the methods on `sdbusplus::message::object_path`. -When parsing HTTP field and lists, use the RFC7230 implementations from -boost::beast. +When using dbus paths, rely on the methods on `sdbusplus::object_path`. When +parsing HTTP field and lists, use the RFC7230 implementations from boost::beast. Other commonly misused methods are: boost::iequals. Unless the standard you're implementing (as is the case in some HTTP fields) requires case insensitive |
