aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-19 15:20:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-19 15:20:07 +0200
commit2cab7b3c2618be9328545e66fc340faea6b15f45 (patch)
treebd15d73a0543a943732a7b5f3becc750df59470f /libbuild2/algorithm.ixx
parent18394bc05dc4cadb2dc193cfeb78598c70447869 (diff)
Minor tweaks to target_lock passing semantics
This should also get rid of the bogus -Wdangling-pointer issued by GCC 12.
Diffstat (limited to 'libbuild2/algorithm.ixx')
-rw-r--r--libbuild2/algorithm.ixx2
1 files changed, 1 insertions, 1 deletions
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)