commit | b1d4518c79c464703ac518128b95caa4ca33301b | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@ieisystem.com> | Wed Sep 11 10:34:45 2024 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Wed Oct 09 02:34:18 2024 +0000 |
tree | e182a4459ea92006543483a435265b7cf7d36b48 | |
parent | d386fba62166e2ec42bea86b73c72e376827f2ce [diff] |
transporthandler: Fix out_of_range exception caused by using at When using the .at method to get the value in std::map, if the key does not exist, an out_of_range exception will be thrown. This commit moves this logic to the try method and catches the exception. Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: Ia9479bd3ce53d32515bef13db1bba7b3fe6e0429
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