summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2024-06-11 19:38:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-06-11 19:38:49 +0000
commit9ad62b5e03be7d633dac9c5b9be1b81db45db00c (patch)
tree9909506516c044125602ba70b70bdf77bcef075d
parent4bad1f05504bf1ebce74a3c25a6308aad6c5c6b7 (diff)
parent021ab8c27e28f3d4c891c117db8f220e7f5ec74f (diff)
Merge "FTL: Amend outdated ftl::Function example usage" into main
-rw-r--r--include/ftl/function.h2
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);
// });