From 7b9eb752cad04aaadc4552d0f26d307b04af1869 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Feb 2017 08:09:53 +0200 Subject: Pass const target& to recipes --- build2/test/rule | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test/rule') 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; }; } } -- cgit v1.1