aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-29 15:01:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-29 15:01:15 +0200
commit8a8628cc5ca1ba198e96d7808afc5875a5043bbc (patch)
tree9a5e7b23a6e2c59def5a7d66b568433c375ff351 /libbuild2/rule.hxx
parente19b3b03ec3ba22717cc05854c62ed78c69bb1a4 (diff)
Move low-verbosity command name from adhoc_script_rule to script
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index efa4ec3..36e4733 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -186,14 +186,11 @@ namespace build2
using script_type = build::script::script;
- adhoc_script_rule (optional<string> d, const location& l, size_t b)
- : adhoc_rule (l, b), diag (move (d)) {}
+ adhoc_script_rule (const location& l, size_t b): adhoc_rule (l, b) {}
public:
- const optional<string> diag; // Command name for low-verbosity diag.
- string checksum; // Script text hashsum.
- script_type script;
-
+ script_type script;
+ string checksum; // Script text hashsum.
};
// Ad hoc C++ rule.