aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-01 11:08:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-01 11:08:12 +0200
commit736c9f08b68b2735d85fe7eefdf2118de8b8c34e (patch)
tree644a6f1a9ae2da93d7c4ef132ab53748ffea962c /libbuild2/rule.hxx
parent7bcb45cba78795dccdb2684f6f290daeb8bab488 (diff)
Fix incorrect fsdir_rule::perform_update_direct() calls
Also make fsdir_rule::perform_{update,clean}_direct() harder to misuse.
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index 7e5ddb1..e4afcd4 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -189,10 +189,10 @@ namespace build2
// of fsdir{} without the overhead of switching to the execute phase.
//
static void
- perform_update_direct (action, const target&);
+ perform_update_direct (action, const fsdir&);
static void
- perform_clean_direct (action, const target&);
+ perform_clean_direct (action, const fsdir&);
fsdir_rule () {}
static const fsdir_rule instance;