From 736c9f08b68b2735d85fe7eefdf2118de8b8c34e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Nov 2023 11:08:12 +0200 Subject: Fix incorrect fsdir_rule::perform_update_direct() calls Also make fsdir_rule::perform_{update,clean}_direct() harder to misuse. --- libbuild2/rule.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/rule.hxx') 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; -- cgit v1.1