From 2cab7b3c2618be9328545e66fc340faea6b15f45 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Oct 2022 15:20:07 +0200 Subject: Minor tweaks to target_lock passing semantics This should also get rid of the bogus -Wdangling-pointer issued by GCC 12. --- libbuild2/algorithm.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/algorithm.ixx') diff --git a/libbuild2/algorithm.ixx b/libbuild2/algorithm.ixx index 7c87a72..3398595 100644 --- a/libbuild2/algorithm.ixx +++ b/libbuild2/algorithm.ixx @@ -646,7 +646,7 @@ namespace build2 } LIBBUILD2_SYMEXPORT void - resolve_group_impl (action, const target&, target_lock); + resolve_group_impl (action, const target&, target_lock&&); inline const target* resolve_group (action a, const target& t) -- cgit v1.1