diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-17 15:43:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:25 +0200 |
commit | fc27ec48c9d63879e4b0f049060e943233cb540d (patch) | |
tree | 28e062c8674ad194268100bf48475aecaca4c056 /build2/test | |
parent | 8b564b5b8f6d597a9fb76734e759f78c4b1c91da (diff) |
Cleanup match_result mess
Diffstat (limited to 'build2/test')
-rw-r--r-- | build2/test/rule | 4 | ||||
-rw-r--r-- | build2/test/rule.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/build2/test/rule b/build2/test/rule index e6cdc37..b915ea7 100644 --- a/build2/test/rule +++ b/build2/test/rule @@ -19,10 +19,10 @@ namespace build2 { public: virtual match_result - match (action, target&, const string&) const; + match (action, target&, const string&) const override; virtual recipe - apply (action, target&, const match_result&) const; + apply (action, target&) const override; static target_state perform_script (action, target&); diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index 975d19f..8621422 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -106,7 +106,7 @@ namespace build2 } } - match_result mr (t); + match_result mr (true); // Theoretically if this target is testable and this is the update // pre-operation, then all we need to do is say we are not a match and @@ -146,7 +146,7 @@ namespace build2 } recipe rule:: - apply (action a, target& t, const match_result&) const + apply (action a, target& t) const { tracer trace ("test::rule::apply"); |