From 5a8a996950ce12dac0e1b200e22386c3413fa4ec Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 6 Oct 2023 10:45:14 +0200 Subject: Handle 0 mask in update_during_match_prerequisites() --- libbuild2/target.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index 99383e7..1178371 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -589,7 +589,8 @@ namespace build2 prerequisites () const; // Swap-in a list of prerequisites. Return false if unsuccessful (i.e., - // someone beat us to it). Note that it can be called on const target. + // someone beat us to it), in which case the passed prerequisites are + // not moved. Note that it can be called on const target. // bool prerequisites (prerequisites_type&&) const; -- cgit v1.1