commit | e6b2be523a942ae753a9f36a9f5c6bc80b24ca79 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@ieisystem.com> | Tue Aug 19 13:57:43 2025 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Thu Sep 25 15:21:59 2025 +0800 |
tree | dedfbb601680bfd3dd7c99fbbb35b1314afc5a47 | |
parent | c7a4da5ebd9de338595e8a31740eb04b1c57a69b [diff] |
replace pointer parameters with references The methods declared in sensorhandler.hpp are all defined with pointer parameters. Since these parameters should always be valid and not null, using raw pointers is unnecessary and can be misleading, so passing them as references makes the API safer and more idiomatic in modern C++. Change-Id: Iaec6caeb1e04fcc38cc244dd66634724c62dd0c1 Signed-off-by: George Liu <liuxiwei@ieisystem.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage