aboutsummaryrefslogtreecommitdiff
path: root/build2/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-07 08:09:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:42 +0200
commit7b9eb752cad04aaadc4552d0f26d307b04af1869 (patch)
treed19cdb450ddec384ec41d9129f8d4afecc14acb7 /build2/rule
parentbe773edfa2c8f8f3230509bbd713542d20fbb37e (diff)
Pass const target& to recipes
Diffstat (limited to 'build2/rule')
-rw-r--r--build2/rule4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/rule b/build2/rule
index cc98bfa..fad4316 100644
--- a/build2/rule
+++ b/build2/rule
@@ -85,10 +85,10 @@ namespace build2
apply (slock&, action, target&) const override;
static target_state
- perform_update (action, target&);
+ perform_update (action, const target&);
static target_state
- perform_clean (action, target&);
+ perform_clean (action, const target&);
static const fsdir_rule instance;
};