diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-18 10:03:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-19 04:12:34 +0200 |
commit | 095583f1fbab20937720f9311ddb9945ff2b9224 (patch) | |
tree | 5b97f4e4652111624175d9d137fe3b0e9837f7f4 /libbuild2/types.hxx | |
parent | 9920e41e1372229c52f74151af5f1570f32a489c (diff) |
Switch recipe from std::function to butl::move_only_function_ex
Diffstat (limited to 'libbuild2/types.hxx')
-rw-r--r-- | libbuild2/types.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
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 <libbutl/target-triplet.hxx> #include <libbutl/semantic-version.hxx> #include <libbutl/standard-version.hxx> +#include <libbutl/move-only-function.hxx> #include <libbuild2/export.hxx> @@ -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<string>; using cstrings = std::vector<const char*>; |