From 1346f4cd0d20a5dc7e0471edbbb6ce00f2da5c18 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Jun 2021 08:34:38 +0200 Subject: Redo fallback reverse operation machinery in ad hoc recipes --- libbuild2/adhoc-rule-buildscript.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbuild2/adhoc-rule-buildscript.hxx') 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) const override; + virtual optional + reverse_fallback (action, const target_type&) const override; virtual recipe apply (action, target&, match_extra&) const override; -- cgit v1.1