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/recipe.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/recipe.cxx') 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; } -- cgit v1.1