diff options
| author | 2024-05-03 17:30:26 -0400 | |
|---|---|---|
| committer | 2024-05-14 16:48:11 -0400 | |
| commit | 189d18256ddd9e38987b0a52363eca3d110aae29 (patch) | |
| tree | a862feb0278b95a1ef0c54652e9cf8d3699fc4c1 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | a7873cc66b57db38e688d9d4e95883683110846f (diff) | |
FTL: Add Optional<T>::ok_or and FTL_TRY
Optional<T>::ok_or maps to Expected<T, E> where nullopt becomes E.
FTL_TRY unwraps T for Expected<T, E> or does an early out on error.
Bug: 185536303
Test: ftl_test
Change-Id: Ia03f7e3d8773878db1c493b62772ab2c2b7a4fed
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions