diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-02 08:34:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-02 08:36:23 +0200 |
commit | b63824f48a0a38ed9a8c4b7306b1af92ccf2135b (patch) | |
tree | 21aab00dd77b0221d43b5e4b05bc57e4450e67ba /libbuild2/adhoc-rule-buildscript.hxx | |
parent | ad7b8477f177355e50b411b7296ae2e392d7a4be (diff) |
Redo fallback reverse operation machinery in ad hoc recipes
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.hxx')
-rw-r--r-- | libbuild2/adhoc-rule-buildscript.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.hxx b/libbuild2/adhoc-rule-buildscript.hxx index 38cce1e..bf14472 100644 --- a/libbuild2/adhoc-rule-buildscript.hxx +++ b/libbuild2/adhoc-rule-buildscript.hxx @@ -22,9 +22,8 @@ namespace build2 public adhoc_rule_with_deadline { public: - virtual bool - match (action, target&, const string&, match_extra&, - optional<action>) const override; + virtual optional<action> + reverse_fallback (action, const target_type&) const override; virtual recipe apply (action, target&, match_extra&) const override; |