aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/recipe.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/recipe.hxx')
-rw-r--r--libbuild2/recipe.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/recipe.hxx b/libbuild2/recipe.hxx
index b88311c..7eca34a 100644
--- a/libbuild2/recipe.hxx
+++ b/libbuild2/recipe.hxx
@@ -54,10 +54,11 @@ namespace build2
// A recipe is a fragment of a rule so we handle ad hoc recipies by
// "completing" them to rules.
//
+ using adhoc_actions = small_vector<action, 1>;
struct adhoc_recipe
{
- small_vector<action, 1> actions;
- shared_ptr<adhoc_rule> rule;
+ adhoc_actions actions;
+ shared_ptr<adhoc_rule> rule;
};
}