From 0ff39fd77b3127c7a250e7f817e34dfaecbcc208 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 20 Nov 2020 22:07:37 +0300 Subject: Add support for buildscript depdb preamble --- libbuild2/recipe.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/recipe.hxx') 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; struct adhoc_recipe { - small_vector actions; - shared_ptr rule; + adhoc_actions actions; + shared_ptr rule; }; } -- cgit v1.1