From 49c6210a1ae21b6722d513bd35ba90ee1fec3170 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 May 2020 15:44:32 +0200 Subject: Integrate buildscript running into recipe default_action() --- libbuild2/rule.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libbuild2/rule.hxx') diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index 8799b83..a3d54e7 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -184,14 +184,12 @@ namespace build2 using script_type = build::script::script; - adhoc_script_rule (script_type&& s, - optional d, - const location& l, size_t b) - : adhoc_rule (l, b), script (move (s)), diag (move (d)) {} + adhoc_script_rule (optional d, const location& l, size_t b) + : adhoc_rule (l, b), diag (move (d)) {} public: - const script_type script; const optional diag; // Command name for low-verbosity diag. + script_type script; }; // Ad hoc C++ rule. -- cgit v1.1