diff options
author | 2024-06-10 12:32:34 -0400 | |
---|---|---|
committer | 2024-06-11 11:20:54 -0400 | |
commit | 021ab8c27e28f3d4c891c117db8f220e7f5ec74f (patch) | |
tree | d1bb0f7a4b3455157dad2f89c299ea62e1ba2ff7 /include/ftl | |
parent | 1f39c3d3ceaa140c480acbb23504490c2f49450e (diff) |
FTL: Amend outdated ftl::Function example usage
Bug: 185536303
Flag: DOCS_ONLY
Test: N/A
Change-Id: I96246cacb63dec70caa732064fd5159d596d4e25
Diffstat (limited to 'include/ftl')
-rw-r--r-- | include/ftl/function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ftl/function.h b/include/ftl/function.h index 3538ca4eae..bda5b759bb 100644 --- a/include/ftl/function.h +++ b/include/ftl/function.h @@ -123,7 +123,7 @@ namespace android::ftl { // // Create a typedef to give a more meaningful name and bound the size. // using MyFunction = ftl::Function<int(std::string_view), 2>; // int* ptr = nullptr; -// auto f1 = MyFunction::make_function( +// auto f1 = MyFunction::make( // [cls = &cls, ptr](std::string_view sv) { // return cls->on_string(ptr, sv); // }); |