aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/dist/rule.cxx')
-rw-r--r--build2/dist/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/dist/rule.cxx b/build2/dist/rule.cxx
index e2bad9a..f6b50f7 100644
--- a/build2/dist/rule.cxx
+++ b/build2/dist/rule.cxx
@@ -16,13 +16,13 @@ namespace build2
namespace dist
{
match_result rule::
- match (action, target& t, const string&) const
+ match (action, target&, const string&) const
{
- return t; // We always match.
+ return true; // We always match.
}
recipe rule::
- apply (action a, target& t, const match_result&) const
+ apply (action a, target& t) const
{
const dir_path& out_root (t.root_scope ().out_path ());