summaryrefslogtreecommitdiff
path: root/include/ftl/function.h
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2024-05-30 21:01:26 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2024-06-11 11:16:24 -0400
commit1f39c3d3ceaa140c480acbb23504490c2f49450e (patch)
treee96ffeebdcba5ea1c5fdfa94514ca45eccd043ad /include/ftl/function.h
parent677ba5a2beda0734633d2dc548338bed0d467258 (diff)
FTL: Add FTL_EXPECT
Like FTL_TRY, FTL_EXPECT unwraps T for Expected<T, E> or does an early out on error, but it bails out with E instead of Expected<T, E>. Fix a line in the Expected.Try test to call the intended helper. Bug: 185536303 Test: ftl_test Change-Id: I238ae2978ff606c5c035e9791496c2b20729ca7f
Diffstat (limited to 'include/ftl/function.h')
0 files changed, 0 insertions, 0 deletions