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/recipe.cxx | |
parent | 9920e41e1372229c52f74151af5f1570f32a489c (diff) |
Switch recipe from std::function to butl::move_only_function_ex
Diffstat (limited to 'libbuild2/recipe.cxx')
-rw-r--r-- | libbuild2/recipe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/recipe.cxx b/libbuild2/recipe.cxx index 3720059..eeafe87 100644 --- a/libbuild2/recipe.cxx +++ b/libbuild2/recipe.cxx @@ -7,8 +7,8 @@ namespace build2 { - const recipe empty_recipe; - const recipe noop_recipe (&noop_action); - const recipe default_recipe (&default_action); - const recipe group_recipe (&group_action); + recipe_function* const empty_recipe = nullptr; + recipe_function* const noop_recipe = &noop_action; + recipe_function* const default_recipe = &default_action; + recipe_function* const group_recipe = &group_action; } |