From 095583f1fbab20937720f9311ddb9945ff2b9224 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Apr 2022 10:03:13 +0200 Subject: Switch recipe from std::function to butl::move_only_function_ex --- libbuild2/types.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libbuild2/types.hxx') diff --git a/libbuild2/types.hxx b/libbuild2/types.hxx index 7bc6b32..cd6fdd8 100644 --- a/libbuild2/types.hxx +++ b/libbuild2/types.hxx @@ -59,6 +59,7 @@ #include #include #include +#include #include @@ -82,9 +83,12 @@ namespace build2 using std::pair; using std::tuple; using std::string; - using std::function; using std::reference_wrapper; + using std::function; + using butl::move_only_function; + using butl::move_only_function_ex; + using strings = std::vector; using cstrings = std::vector; -- cgit v1.1