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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/dist/rule.cxx b/build2/dist/rule.cxx
index f5c4018..bf5ab47 100644
--- a/build2/dist/rule.cxx
+++ b/build2/dist/rule.cxx
@@ -16,17 +16,17 @@ namespace build2
namespace dist
{
match_result rule::
- match (slock&, action, target&, const string&) const
+ match (action, target&, const string&) const
{
return true; // We always match.
}
recipe rule::
- apply (slock& ml, action a, target& t) const
+ apply (action a, target& t) const
{
const dir_path& out_root (t.root_scope ().out_path ());
- auto r (group_prerequisite_members (ml, a, t, false));
+ auto r (group_prerequisite_members (a, t, false));
for (auto i (r.begin ()); i != r.end (); ++i)
{
prerequisite_member p (*i);
@@ -43,12 +43,12 @@ namespace build2
if (p.type ().see_through && i.enter_group ())
continue;
- target& pt (p.search ());
+ const target& pt (p.search ());
// Don't match targets that are outside of our project.
//
if (pt.dir.sub (out_root))
- build2::match (ml, a, pt);
+ build2::match (a, pt);
}
return noop_recipe; // We will never be executed.