diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-07 08:09:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 7b9eb752cad04aaadc4552d0f26d307b04af1869 (patch) | |
tree | d19cdb450ddec384ec41d9129f8d4afecc14acb7 /build2/test/rule | |
parent | be773edfa2c8f8f3230509bbd713542d20fbb37e (diff) |
Pass const target& to recipes
Diffstat (limited to 'build2/test/rule')
-rw-r--r-- | build2/test/rule | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/test/rule b/build2/test/rule index 0e208ff..da55173 100644 --- a/build2/test/rule +++ b/build2/test/rule @@ -24,7 +24,7 @@ namespace build2 match (slock&, action, target&, const string&) const override; target_state - perform_script (action, target&) const; + perform_script (action, const target&) const; }; class rule: public rule_common @@ -34,7 +34,7 @@ namespace build2 apply (slock&, action, target&) const override; static target_state - perform_test (action, target&); + perform_test (action, const target&); }; class alias_rule: public rule_common @@ -44,7 +44,7 @@ namespace build2 apply (slock&, action, target&) const override; target_state - perform_test (action, target&) const; + perform_test (action, const target&) const; }; } } |